legalhustler
Well-known Member
- Joined
- Jun 5, 2014
- Messages
- 1,214
- Office Version
- 365
- Platform
- Windows
Hi,
I'm trying to make the column header part of this step of my query dynamic (see below).
Where it shows "#"Fiscal Year" & " Amount" I want to subtract 3 from the formula so the year shows "FY 2018 Amount" instead of "FY 2021 Amount". The ""#"Fiscal Year" is a reference to another query that has the fiscal year like "FY 2021". How can I amend this step so it dynamically changes the fiscal year minus 3 years?
= Table.RenameColumns(Append,{{"Total Amount", #"Fiscal Year" & " Amount"}})
I'm trying to make the column header part of this step of my query dynamic (see below).
Where it shows "#"Fiscal Year" & " Amount" I want to subtract 3 from the formula so the year shows "FY 2018 Amount" instead of "FY 2021 Amount". The ""#"Fiscal Year" is a reference to another query that has the fiscal year like "FY 2021". How can I amend this step so it dynamically changes the fiscal year minus 3 years?
= Table.RenameColumns(Append,{{"Total Amount", #"Fiscal Year" & " Amount"}})