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 am building a test/control dashboard.
I have pre/post-test and pre/post control. The Visuals for the Control are disconnected from the slicers so they always show the same growth.
If there is nothing selected in my slicers I get all the correct numbers. When I slice, it filters my control measure but I don't want it to.
Here is an example
Overall Test is 20 post, 10 pre so 100% growth
Control is 15 post, 10 pre so 50% growth.
The change is 100-50 so 50%.
Now I want to look at a specific store. That store was 6 post, 4 pre, so 50% growth.
I want me difference measure to still to 50-50 so 0. Instead, my control 0s out and it still shows 50.
Can someone help me with Dax that will ignore the slicer values? Thanks
I tried the below query, but it doesn't display the correct output.
Solved! Go to Solution.
@Anonymous , becuase you measure is very long, you can just write a new one that is like
Final Measure = CALCULATE(_inc_exams_test_ctrl ,
REMOVEFILTER(TheColumnInTheSlicer))
Thank you so much Ahmed. It worked like a charm.
@Anonymous , becuase you measure is very long, you can just write a new one that is like
Final Measure = CALCULATE(_inc_exams_test_ctrl ,
REMOVEFILTER(TheColumnInTheSlicer))
Thank you so much Ahmed. It worked like a charm.
If you want a measure to ignore slicers you need to use the ALL and its family of functions within your calculate statement.
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 |
---|---|
102 | |
53 | |
21 | |
13 | |
11 |