Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
george__mk
New Member

Multiples values from a slicer and calculate

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.

george__mk_0-1711042110524.png

 

When I uncheck the value:

george__mk_1-1711042143629.png

 

What did I do wrong?

1 ACCEPTED SOLUTION
Wilson_
Memorable Member
Memorable Member

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?)




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

1 REPLY 1
Wilson_
Memorable Member
Memorable Member

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?)




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.