Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
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!
User | Count |
---|---|
10 | |
8 | |
5 | |
5 | |
4 |