Forum Discussion
nanacobsbs
3 years agoHelper I
switch DAX
I want show the regions which selected in the slicer in the card visual. I have created the following code measure. To Show "Global"in the card when all regions are checked in the slicer, which c...
- 3 years ago
hi nanacobsbs
try to plot the card with such measure:
RegionSelection = IF( COUNTROWS(ALLSELECTED(Regions[Regions]))=COUNTROWS(ALL(Regions[Regions])), "All", CONCATENATEX( ALLSELECTED(Regions[Regions]), Regions[Regions], "," ) )it works like this:
FreemanZ
3 years agoSuper User
hi nanacobsbs
try to plot the card with such measure:
RegionSelection =
IF(
COUNTROWS(ALLSELECTED(Regions[Regions]))=COUNTROWS(ALL(Regions[Regions])),
"All",
CONCATENATEX(
ALLSELECTED(Regions[Regions]),
Regions[Regions],
","
)
)
it works like this:
nanacobsbs
3 years agoHelper I
Thank you!!! It's done!