March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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 code should I use?
Regions =
SWITCH(TRUE(),
"America" in ALLSELECTED('Switch Regions'[Regions]),"America",
"Europe" in ALLSELECTED('Switch Regions'[Regions]), "Europe",
"Asia" in ALLSELECTED('Switch Regions'[Regions]), "Asia",
"Japan" in ALLSELECTED('Switch Regions'[Regions]), "Japan"
Solved! Go to Solution.
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:
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:
Thank you!!! It's done!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
23 | |
16 | |
12 | |
9 | |
7 |
User | Count |
---|---|
38 | |
32 | |
28 | |
12 | |
11 |