Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hello everybody,
I'm using the information from the Card to bring up the information already filtered in Slicer.
However, I can't find any option to bring "All" when all slicers information is selected.
For example, in the case below, I would like the information "All" to show the Card instead of "Canada".
I can't find any kind of quick measure to define this.
Solved! Go to Solution.
Hi @PatrickPerovan ,
Please try this:-
Measure =
VAR result =
CONCATENATEX ( VALUES ( table[Country] ), [Country], "," )
RETURN
CALCULATE ( IF ( ISFILTERED ( table[Country] ), result, "ALL" ) )
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hey @PatrickPerovan ,
Try this:
ShowSelected =
if(ISFILTERED(TableName[Country]),CONCATENATEX(Values(TableName[Country]),TableName[Country],","),"All")
Case 1: Only one country selected:
Case 2: Multiple countries selected:
Case 3: None selected:
I hope this is what you are looking for.
Hey @PatrickPerovan ,
Try this:
ShowSelected =
if(ISFILTERED(TableName[Country]),CONCATENATEX(Values(TableName[Country]),TableName[Country],","),"All")
Case 1: Only one country selected:
Case 2: Multiple countries selected:
Case 3: None selected:
I hope this is what you are looking for.
Legend!
Thank you!
Hi @PatrickPerovan ,
You could create a measure like this:-
Measure =
IF (
SELECTEDVALUE ( table[Country] ) = BLANK (),
"ALL",
SELECTEDVALUE ( table[Country] )
)
BR,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi Samantha, this works in part. 😅
When I select two or more countries, it keeps returning me as ALL.
BR
Hi @PatrickPerovan ,
Please try this:-
Measure =
VAR result =
CONCATENATEX ( VALUES ( table[Country] ), [Country], "," )
RETURN
CALCULATE ( IF ( ISFILTERED ( table[Country] ), result, "ALL" ) )
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
User | Count |
---|---|
86 | |
85 | |
68 | |
67 | |
63 |
User | Count |
---|---|
210 | |
118 | |
116 | |
81 | |
74 |