Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
101 | |
86 | |
64 |