Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi,
I have a question about the usage of slicers, measures and tables, but maybe let me describe the problem first:
Consider having a table with a list of values from 1 to 41 which serves as a basis for two slicer.
Now I create two slicers referring to that very same table and I define three measures
Solved! Go to Solution.
Hi @PhilW ,
According to your description, it seems that you want to use two slicer which refer to same column to calculate value , right? Based on my test, I find that when you use same source to create different slicers, it will use "and " logic on slicer and show the same result for test1 and test(show 21 for each value). So if you want to get correct value, please use different source(make slicers refer to different table or column).
Best Regards,
Zoe Zhi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@PhilW , are these slicers on different columns
then you can use like
Test = calculate(Min(Sheet1[Series]),all(slicer2))
Test2 = calculate(Min(Sheet1[Series]),all(slicer1))
or you use interaction to control that
https://docs.microsoft.com/en-us/power-bi/service-reports-visual-interactions
Hi
Thank you both for the hints and response, @amitchandak and @ryan_mayu .
I use the interaction control to assure, that the left slicer only affects the visual displaying the measure Test, and the right slicer only affects the visual displaying Test2.
However, both slicers are referring to the same column, hence the proposed solution using ALL(Sheet1[Series]) would not work.
I'm aware that I usually need one column for each slicer. However, my problem is that I have to create a dashboard where the input of maximum 120 what if parameters are required. Here, sets of four of these parameters appear to be in relatively similar ranges. This made me think that I could use shared slicer table columns to only have to deal with 30 instead of 120 tables / columns for slicer settings.
Hi @PhilW ,
According to your description, it seems that you want to use two slicer which refer to same column to calculate value , right? Based on my test, I find that when you use same source to create different slicers, it will use "and " logic on slicer and show the same result for test1 and test(show 21 for each value). So if you want to get correct value, please use different source(make slicers refer to different table or column).
Best Regards,
Zoe Zhi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @dax,
Thanks for the answer. Yes, you understood the problem correctly, I wanted to use the same source for two different slicers.
I was afraid that this indeed was not possible, especially when checking the Power BI internal DAX query that is used to display the visual of the measure Test3, which indeed uses an AND logic AND('Sheet1'[Series] >= 21, 'Sheet1'[Series] >= 9) resulting in 21.
Nevertheless I wanted to check with the community.
Best regards,
Philip
Hope the document below is helpful.
https://docs.microsoft.com/en-us/power-bi/create-reports/service-reports-visual-interactions
Proud to be a Super User!
User | Count |
---|---|
125 | |
106 | |
99 | |
63 | |
62 |
User | Count |
---|---|
135 | |
116 | |
101 | |
71 | |
61 |