Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hello, this is my first post here 🙂
I am new in this "PowerBI World" and I have a problem:
How can I get multiples values from a slicer?
For example:
I have a card that count a determinante value ("Não Conformidade") with dax:
CALCULATE(COUNT('bugs bugs'[TaskType]), 'bugs bugs'[TaskType] = "Não Conformidade")
But when I select another values from Slicer, this number doesnt change.
When I uncheck the value:
What did I do wrong?
Solved! Go to Solution.
Hi george,
You are getting this result because the modifiers in the CALCULATE function by default overwrite the original filter context, which in this case is coming from your slicer.
Check out this video from SQLBI that does a great job breaking down the basics of the CALCULATE function.
----------------------------------
If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)
Proud to be a Super User! | |
Hi george,
You are getting this result because the modifiers in the CALCULATE function by default overwrite the original filter context, which in this case is coming from your slicer.
Check out this video from SQLBI that does a great job breaking down the basics of the CALCULATE function.
----------------------------------
If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)
Proud to be a Super User! | |
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
87 | |
81 | |
53 | |
38 | |
35 |