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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
egrospe17
Frequent Visitor

Slicers NOT filtering data on a data card that is using a DAX formula

So i have a series of crossings data that contain various information. Data example is below. Each item belongs to a Tier. I have 3 data cards that will show the number of crossings that belong to a specific Tier. I also have a slicer that can filter the data out by City. 

 

I'm using the following DAX formula to calculate the count of crossings that belong to each tier and use them on each data card.

Count of Tier 1 = CALCULATE(COUNTA('Prioritization Ranking'[DOT #]),FILTER(ALL('Prioritization Ranking'),'Prioritization Ranking'[Tier]="Tier 1"))

 

The challenge is when i use a slicer (or slicers), it doesn't adjust the numbers in the data cards. What am i doing wrong? HELP!!

 

Crossing IDCrossing NameCityTier
1234Noel RdLos AlamitosTier 1
1256Bloomfield RdLos AlamitosTier 1
1289Katella AveLong BeachTier 2
1112Elm StAnaheimTier 2
1898Ball RdAnaheimTier 3
8898Santa Ana AveSanta AnaTier 3
1 ACCEPTED SOLUTION
Anand24
Super User
Super User

Hi @egrospe17 ,

 

For slicers and filters to affect your measure, you will need to use ALLSELECTED instead of ALL. Try it once.

PBI_SuperUser_Rank@1x.png  

Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!!

Proud To Be a Super User !!!
LinkedIn

View solution in original post

2 REPLIES 2
Anand24
Super User
Super User

Hi @egrospe17 ,

 

For slicers and filters to affect your measure, you will need to use ALLSELECTED instead of ALL. Try it once.

PBI_SuperUser_Rank@1x.png  

Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!!

Proud To Be a Super User !!!
LinkedIn

That worked! Thanks so much!

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.