Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello everyone,
I would like to find a method to prevent the slicer from affectin the function of the measure I have created.
the highlighted measure includes a furmola to count a filtered coulmn from a table
the slicer added to another table to filter the data.
both tables are related but once that happens the measure in Card gets the same value.
This is the Card including the Measure highlighted:
This is the Measure I am applying to the highlighted Card:
This is the relation between the 2 tables I am using the Cost Center field in each table to connect:
I would appreciate your help
thank you
Solved! Go to Solution.
Thanks for the reply from powerbidev123, please allow me to provide another insight.
Hi @Faris2024
You can try wrapping the table argument of the Filter function with an ALL function so that the filtering context returned by the Filter function is not affected by the external slicer.
Total_Below19=CALCULATE(
COUNTROWS(Actual),
FILTER(ALL(Actual),...)
)
Best Regards,
Dengliang Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for the reply from powerbidev123, please allow me to provide another insight.
Hi @Faris2024
You can try wrapping the table argument of the Filter function with an ALL function so that the filtering context returned by the Filter function is not affected by the external slicer.
Total_Below19=CALCULATE(
COUNTROWS(Actual),
FILTER(ALL(Actual),...)
)
Best Regards,
Dengliang Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Faris2024 , To make this happen such that the slicer not affecting the measure inside the card visual. Go to Format-> Edit interactions .
Upon clicking the slicer you will symbol like this on top right corner of the visual .
It will stop the filtering on that particular visual. Let me know if this helps
Thank you @powerbidev123 for your helpful & unsightful information. However, What I need is to apply both the measure which includes filters and the slicer's filter.
@Faris2024 .Try using KEEPFILTERS function or ALL function in your calculate measure. This will keep your filters intact
Did not work for me
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
21 | |
14 | |
11 | |
8 | |
5 |
User | Count |
---|---|
24 | |
22 | |
20 | |
15 | |
10 |