Forum Discussion
Slicers sharing the same source affecting different measures
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
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 ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
5 Replies
- ryan_mayuSuper User
Hope the document below is helpful.
https://docs.microsoft.com/en-us/power-bi/create-reports/service-reports-visual-interactions - amitchandakSuper User
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
- PhilWRegular Visitor
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.
- daxCommunity Support
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 ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.