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.
I have a scenario where I need to dynamically display the currently selected item compared to all other items in the data. This is similar to dynamic grouping/binning but is based on a text selection rather than some kind of number.
For example, if a user selects a state in a slicer, I want it to dynamically show the GA numbers compared to all other states. If a user then chooses TN, it would show TN compared to all other states.
I've seen various posts online about dynamic grouping/banding with numbers but haven't figured out how to achieve this with text. Anyone have any ideas?
That's definitely closer, @Jihwan_Kim, but I'm finding that does not translate to my scenario as I can't get it to work. I just blanks unless I select the Other value. I apparently can't attach files here, but here's what would be closer to my scenario with your setup.
Here's a sample of the data:
I'd like a user to be able to select a client and see how that client's numbers compare to all other clients excluding that one.
Hi,
Thank you for your message.
Do you want to create a Client-Slicer? Or, a State-Slicer?
The below is for creating a client-slicer.
Hi @arpost,
You need to o have a disconnected table with the states then you need to add two measures
Selected state = CALCULATE (SUM(Table[column]), table[STATE] = SELECTEDVALUE(UNRELATEDTABLE[STATE]))
OTHERS = SUM(Table[column]) - [selected state]
Now used this two measures on your chart.
Should work has expected,but be aware that this may need some changes if you have other filters or slicers on your report.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThanks for the reply, @MFelix! The issue I'm facing is certain visuals don't support the use of multiple measures in the Values field, so I need some kind of Legend value. 😞
For example, the Box and Whisker visual from MAQ only allows a single Value field.
Do you know of a way to achieve the same result you mentioned but with a Legend-appropriate value?
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 |
---|---|
71 | |
70 | |
43 | |
31 | |
26 |
User | Count |
---|---|
89 | |
49 | |
44 | |
38 | |
37 |