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
The longer tail of this question is that I am trying to create a YTD this year vs YTD last year comparison, so I am following instructions on how to build that. One of the requirements is to have a Calendar table that can be used as the basis for filtering MainTable, if we call it that, but when testing the Measure just for this year TYD I already hit a problem.
The Calendar table has an active relationship to MainTable and if I add a time slicer to the page, I can use Calendar date to filter results from MainTable, or I can use a Filter on this visual/page to filter the date, so the relationship works. But this relationship appears to stop working in the Measure.
I have already checked the data in Query Editor for MainData - the Date column is set to Date. I have also used "Mark as date table" on the calculated Calendar table.
My test measures, for this year YTD, are:
Measure1 =
Measure2 =
Hi, @SevsBo
I reverted your problem but my measure2 is working fine, please check the attachment.
Can you provide some of the example data? Please remove any sensitive data in advance.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
As stated in the original question, there is an active relationship, and the Calendar table does work as a filter outside the measure. Is there an issue with the measure?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 67 | |
| 62 |