hi
i removed the variables and instead used real dates
i still get a null
whats wrong with the equation?
i removed the variables and instead used real dates
i still get a null
whats wrong with the equation?
Rich (BB code):
= Table.AddColumn(#"Changed Type4", BudgetYear2, each if BudgetYear1 <> null then Date.AddYears (Record.Field(_, BudgetYear1),1)
else if [Adjusted Budget Approval]<> null and #date(2022,6,1) >= #date(2022,1,1) and [Adjusted Budget Approval] <= #date(2022,12,31) then [Adjusted Budget Approval]
else null)