Forum Discussion
JC2022
3 years agoHelper III
Fiscal Year To Date Flag
My Fiscal year starts the 1st of October. I have the formula below for my YTD flag, but I would also like to create a Fiscal YTD Flag.
How do I do this?
= Table.AddColumn(#"Inserted Day of Year", "Flag_YTD", each if Date.DayOfYear([Date]) <= Date.DayOfYear(CurrentDate)
8 Replies
- JC2022Helper III
Migasuke
For example:
It is the 1st of April then every date <= 1st of April gets "YTD" else "null". But this is for YTD. So 22nd of November gets a "null".
I would like to create this for Fiscal YTD. My fiscal year starts 1st of October, so for Fiscal YTD flag it should return a "FYTD" for 22nd of November.- MigasukeMemorable Member
Will you have more than 1 year?