Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
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 ID | Crossing Name | City | Tier |
1234 | Noel Rd | Los Alamitos | Tier 1 |
1256 | Bloomfield Rd | Los Alamitos | Tier 1 |
1289 | Katella Ave | Long Beach | Tier 2 |
1112 | Elm St | Anaheim | Tier 2 |
1898 | Ball Rd | Anaheim | Tier 3 |
8898 | Santa Ana Ave | Santa Ana | Tier 3 |
Solved! Go to Solution.
Hi @egrospe17 ,
For slicers and filters to affect your measure, you will need to use ALLSELECTED instead of ALL. Try it once.
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 !!! |
Hi @egrospe17 ,
For slicers and filters to affect your measure, you will need to use ALLSELECTED instead of ALL. Try it once.
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 !!! |
That worked! Thanks so much!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
74 | |
57 | |
38 | |
33 |
User | Count |
---|---|
71 | |
66 | |
57 | |
49 | |
47 |