Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
121 | |
79 | |
48 | |
38 | |
31 |
User | Count |
---|---|
192 | |
79 | |
70 | |
50 | |
42 |