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.
I have a single Calendar table with multiple other tables related to it by date. All of the relationships are "inactive" to avoid circular references et cetera. For my measures, it's easy enough to use USERELATIONSHIP to specify which relationship to use.
However, I have a Table visual, and I want to display all of the records related (via one of the inactive relationships) between table X and my Calendar table.
How can I do this?
Solved! Go to Solution.
To achieve your requirement, you can refer to following method:
1. Create measures to get the Max and Min date of Calendar table with expression like:
StartDate = CALCULATE ( MIN ( 'Calendar Table'[Date] ), ALLSELECTED ( 'Calendar Table' ) )
2. Create a measure in your source table to filter the records:
Flag = IF ( MAX ( Table3[Date] ) >= [StartDate] && MAX ( Table3[Date] ) <= [EndDate], 1, BLANK () )
Thanks,
Xi Jin.
To achieve your requirement, you can refer to following method:
1. Create measures to get the Max and Min date of Calendar table with expression like:
StartDate = CALCULATE ( MIN ( 'Calendar Table'[Date] ), ALLSELECTED ( 'Calendar Table' ) )
2. Create a measure in your source table to filter the records:
Flag = IF ( MAX ( Table3[Date] ) >= [StartDate] && MAX ( Table3[Date] ) <= [EndDate], 1, BLANK () )
Thanks,
Xi Jin.
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 |
---|---|
108 | |
100 | |
78 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
94 | |
84 | |
67 |