The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi guys,
I want to do a measure that is filtered by only one filter, so I want to exsclude all the others.
I have tried using ALL() but there are many, many, many tables so I'm looking for a function faster.
Thank you all 😁
Solved! Go to Solution.
@giuliapiazza94 does ALLEXCEPT helps your scenario
ALLEXCEPT(<tbl>,<tbl[onlyColumnToKeepFilter]>)
Best way is to remove all filters and then add back the specifc column you need.
Like:
Example =
CALCULATE(
[Your Measure]
REMOVEFILTERS(),
VALUES('Product'[Brand])
)
best solution ever!!!
Thankyou.
try ALLSELECTED FUNCTION
Did I answer your question? If so, please mark my post as a solution!
Proud to be a Super User!
@giuliapiazza94 does ALLEXCEPT helps your scenario
ALLEXCEPT(<tbl>,<tbl[onlyColumnToKeepFilter]>)
I've tried but it doesn't work
The total should be 293795,54, not 78,18
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
21 | |
20 | |
17 | |
15 | |
13 |
User | Count |
---|---|
42 | |
36 | |
23 | |
22 | |
17 |