Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have a fact table which is something like this:
| Project | Metric | Revenue | Year |
| A | Services | 20 | 2022 |
| B | Product | 30 | 2022 |
| B | Services | 40 | 2023 |
| A | Product | 50 | 2023 |
| A | Services | 60 | 2022 |
| B | Product | 70 | 2022 |
I have two measures as follows:
Solved! Go to Solution.
Hi @afaro ,
To ensure that the slicer correctly affects and measure, you can adjust the measure to follow the slicer selection. The following are ways to modify the measure:
Services Total =
CALCULATE (
[Total],
FILTER ( ALLSELECTED ( Table[Metric] ), Table[Metric] = "Services" )
)
This measure is used to keep the slicer selection in context while still filtering for "Services". This way, if "Products" is selected in the slicer, 0 should be displayed correctly.
How to Get Your Question Answered Quickly - Microsoft Fabric Community
If it does not help, please provide more details with your desired out put and pbix file without privacy information.
Best Regards,
Ada Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @afaro ,
To ensure that the slicer correctly affects and measure, you can adjust the measure to follow the slicer selection. The following are ways to modify the measure:
Services Total =
CALCULATE (
[Total],
FILTER ( ALLSELECTED ( Table[Metric] ), Table[Metric] = "Services" )
)
This measure is used to keep the slicer selection in context while still filtering for "Services". This way, if "Products" is selected in the slicer, 0 should be displayed correctly.
How to Get Your Question Answered Quickly - Microsoft Fabric Community
If it does not help, please provide more details with your desired out put and pbix file without privacy information.
Best Regards,
Ada Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This gives me blank data for this measure since it removes all the initial filter context. But this works as using ALLEXCEPT worked for my specific use.
If you want independent slicers you need to feed your slicers from disconnected tables.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 5 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 24 | |
| 21 | |
| 15 | |
| 12 | |
| 12 |