Forum Discussion
Hierarchy Slicer
- 5 years ago
Hi, vr_2020
Try like this:
Measure = SWITCH ( TRUE (), ISFILTERED ( 'Table'[Column3] ), MAX ( 'Table'[Column3] ), ISFILTERED ( 'Table'[Column2] ), MAX ( 'Table'[Column2] ), ISFILTERED ( 'Table'[Column1] ), MAX ( 'Table'[Column1] ), " " )Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, vr_2020
I checked it, and what you said should be a design and cannot be changed. If you don’t mind, you can create a measure and put it in the card visual and put the card visusl on top of the slicer.
Like this:
Measure = IF(ISFILTERED('Table'[Column3]),MAX('Table'[Column3])," ")
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks Janey. Ideas looks great. It matches bit close to what I am looking for. I have got 5 hierarchy slicers which has got different levels of hierarchy in each of them in Main Page and the same is being used across multiple pages on the dashboard. Adding Card Visuals on top of the Slicers which is something I will have to think about it interms of having number of visual count on each page.
- v-janeyg-msft5 years ago
Community Support
Hi, vr_2020
Try like this:
Measure = SWITCH ( TRUE (), ISFILTERED ( 'Table'[Column3] ), MAX ( 'Table'[Column3] ), ISFILTERED ( 'Table'[Column2] ), MAX ( 'Table'[Column2] ), ISFILTERED ( 'Table'[Column1] ), MAX ( 'Table'[Column1] ), " " )Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- vr_20205 years agoFrequent Visitor
Thanks Janey. For Different scenario of value selection, found this link https://community.powerbi.com/t5/Desktop/Display-selected-values-of-hierarchy-slicer-on-a-card/td-p/1428198