Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi all.
I usually make a Date table showing all dates up to the date we are in.
The Dax formula looks like this.
Date = CALENDAR(DATE(2015;10;1); DATE(YEAR(NOW());MONTH(NOW());DAY((NOW()))))
So as of today, the last date in the table is 19th of October 2018.
However, i need to change this so the table always expand to the last date of the current month, so the last date would be 31th of October 2018.
And ofcourse, when we reach November, the table needs to update so the last date is 30th of November 2018.
Hope someone has the solution i can't find. 🙂
Thank you in advance. 🙂
Solved! Go to Solution.
@Thim Please try this, using "New Table" option.
Test11DateGen = CALENDAR("2018-01-01",EOMONTH(TODAY(),0))
Proud to be a PBI Community Champion
@Thim Please try this, using "New Table" option.
Test11DateGen = CALENDAR("2018-01-01",EOMONTH(TODAY(),0))
Proud to be a PBI Community Champion
Thank you.
This looks to be exactly what i was looking for. 🙂
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
99 | |
80 | |
70 | |
59 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |