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,
I would like to inactivate a existing relationship for a measure with dax.
I have tried crossfilter and then set it to NONE but i does not seems to work, or even All to ignore the filter.
I need the relationship to be activ for other calculation.
Solved! Go to Solution.
Hi @Anonymous
Try wrapping your exisiting code in an outer CALCULATE with the CROSSFILTER modifier.
E.g.
Measure =
CALCULATE (
***Original Expression Here***,
CROSSFILTER ( Table1[ID], Table2[ID], NONE )
)
This will ensure that your measure is calculated as if the relationship wasn't there.
Best regards,
Martyn
If I answered your question, please help others by accepting it as a solution.
Hi @Anonymous
Try wrapping your exisiting code in an outer CALCULATE with the CROSSFILTER modifier.
E.g.
Measure =
CALCULATE (
***Original Expression Here***,
CROSSFILTER ( Table1[ID], Table2[ID], NONE )
)
This will ensure that your measure is calculated as if the relationship wasn't there.
Best regards,
Martyn
If I answered your question, please help others by accepting it as a solution.
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 |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |