Forum Discussion
Calendar with condition
Hi all,
I have Calendar created like the below:
Basically nothing special, but as you can see I'm using format week = 21 means that year 2025 starting 2024-12-30. I need to change column Year for 2024-12-30 and 2024-12-31 to be Year 2025 and not 2024. Only these two dates are wrong. Is there any special format for year?
Maybe put some conditions into calendar DAX?
Thank you for your help.
Calendars are immutable. There is no point in doing this in either DAX or Power Query (apart from a nice finger exercise). Use an external reference table that has all the required quirks precomputed.
1 Reply
- lbendlinSuper User
Calendars are immutable. There is no point in doing this in either DAX or Power Query (apart from a nice finger exercise). Use an external reference table that has all the required quirks precomputed.