Forum Discussion
Control a Measure using Multi Selction Disconnected Slicer
- Anonymous7 years ago
Thanks, v-cherch-msft - that would have worked I think, but I have multiple features I want to slice on, and this would involve creating a slicer table for each feature, which would have got hard to maintain.
The solution, in the end, came from my boss who had a play and worked out it was best done by creating two datasets in Power Query from one, and then having a measure in each dataset that is plotted on the visual. That way you don't need any slicer tables - you slice on the values in each dataset - I've tested and it works.
The link is here to the solution - Final Solution
Thanks again
Hi Anonymous
It seems you may create two slicer tables and then create the measure like below.Please check Page1 in attached file.
Measure =
CALCULATE (
[Number of Rows],
FILTER (
Fruits,
Fruits[Country] IN VALUES ( Country_Slicer[Country] )
&& Fruits[Feature] IN VALUES ( Feature_Slicer[Feature] )
)
)
Regards,
- Anonymous7 years agoNot applicable
Thanks, v-cherch-msft - that would have worked I think, but I have multiple features I want to slice on, and this would involve creating a slicer table for each feature, which would have got hard to maintain.
The solution, in the end, came from my boss who had a play and worked out it was best done by creating two datasets in Power Query from one, and then having a measure in each dataset that is plotted on the visual. That way you don't need any slicer tables - you slice on the values in each dataset - I've tested and it works.
The link is here to the solution - Final Solution
Thanks again