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 am wondering if code exists to prevent a measure being manipulated by all slicers except for one named - date?
If i've understood correctly, i can use the ALL function to prevent manipulation to a measure like the example code below, but wonder if there is but allow this one thing through?
I made up the except line to give a bit of context to what i am thinking.
Total Balance no slice except date =
CALCULATE(
sum(table1[balance])
,ALL(table1)
,EXCEPT(table1[date]
)
Thanks
Solved! Go to Solution.
Hi @leeham ,
did you try the allexcept funtion?
Your measure would then become something like this:
Total Balance no slice except date =
CALCULATE(
sum(table1[balance])
,ALLEXCEPT(table1[date])
)
Hi @leeham ,
did you try the allexcept funtion?
Your measure would then become something like this:
Total Balance no slice except date =
CALCULATE(
sum(table1[balance])
,ALLEXCEPT(table1[date])
)
how i missed that in searches i do not know - so close when i put except. Thank you!
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 |
---|---|
46 | |
26 | |
22 | |
12 | |
8 |
User | Count |
---|---|
73 | |
51 | |
45 | |
16 | |
12 |