Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hello everyone, I have a question.
I have a formula that one of the parameters is the last day of the current year and I still haven't managed to have that date updated automatically at the turn of the year.
Ask: How can I show though a measure the last day of the current year, in the case of that year 12/31/2021 and automatically in 01/01/2022 the measure brings me the date of 12/31/2022 ?
Thanks for your help !!
Solved! Go to Solution.
And expression like the following should do what you are asking for:
DATE( YEAR(TODAY()),12,31)
If you need it in the query editor, here is the M equivalent
= #date(Date.Year(DateTime.LocalNow()),12,31)
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
And expression like the following should do what you are asking for:
DATE( YEAR(TODAY()),12,31)
User | Count |
---|---|
79 | |
74 | |
62 | |
61 | |
45 |
User | Count |
---|---|
108 | |
98 | |
89 | |
82 | |
61 |