Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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.
User | Count |
---|---|
13 | |
8 | |
8 | |
7 | |
5 |
User | Count |
---|---|
21 | |
15 | |
15 | |
10 | |
7 |