I want to generate a column. that shows as YTD if the date is the last day of the previous month or before and FCT otherwise.
This Dax code is giving me errors.
First tried Today() and then realised that's not what I want :)
Added Custom" = Table.AddColumn(#"Change Type4","YTD Date", each if [Date.Custom] <= Today() then "YTD" else "FCT")