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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
egrospe17
Regular 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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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