Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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:
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.
@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
)
@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
)
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
22 | |
10 | |
10 | |
9 | |
7 |