Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I have created a table that calculate dates for YTD, QTD and MTD, but there seems to be something wrong, because only the YTD gives me the dates for the current year, the QTD and MTD give me much more dates than it should.
Can someone tell me what is wrong?
Solved! Go to Solution.
Yeah... You're doing this:
CALCULATE(STARTOFQUARTER('Dim Date'[Date]),QUARTER('Dim Date'[Date])=QUARTER(today))
without paying attention to the fact that quarters exist in different years and have the same numbers. You're missing a filter on the year column.
Thanks, but can you tell me how to include the filter? I am not sure how to do that.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 14 | |
| 5 | |
| 5 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 10 | |
| 10 | |
| 6 | |
| 6 |