- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
List of Slicer values with optional text value
Hi all!
please help with the following,
I have a Geo slicer with list of regions, for the sake of this example let's use continets:
- Asia
- Africa
- Europe
- North America
- South America
- Australia/Oceania
- Antarctica
I created a Dynamic Text Box which returns selected values from a slicer,
e.g.
if Europe is selected it returns => Europe ,
if Asia and Europe is selected it returns => Asia and Europe,
if 3 or more continets are selected it returns => Asia and Europe, etc.
if all continets are selected (or none is selected) it returns => All.
the only thing I can't figure out is how to return "all but one" when one continet is deselected
e.g. => "all but Europe" when all continents except Europe is selected or other scenarios.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Anonymous , Try a measure like
Add other conditions
Switch( True() ,
countx(all(Table[Regions]), [Regions]) -1= countx(allselected(Table[Regions]), [Regions]) , "all but" & maxx(except(all(Table[Regions]), allselected(Table[Regions])), [Region]) ,
// add other conditions
)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Anonymous , Try a measure like
Add other conditions
Switch( True() ,
countx(all(Table[Regions]), [Regions]) -1= countx(allselected(Table[Regions]), [Regions]) , "all but" & maxx(except(all(Table[Regions]), allselected(Table[Regions])), [Region]) ,
// add other conditions
)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
09-02-2024 03:22 AM | |||
02-02-2024 08:46 AM | |||
Anonymous
| 12-15-2023 01:13 AM | ||
07-24-2024 04:51 AM | |||
05-26-2024 05:53 PM |
User | Count |
---|---|
14 | |
12 | |
11 | |
10 | |
9 |