Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi @spoony,
>> Instead of plotting 3 charts, I need to plot a single bar chart and with a slicer elsewhere to select which of input, output or combined appear on the chart individually or together.
You can write a measure with the slicer to show the display one of these value, but I don't think it support to show them together, value field only support value type.(if input the text string, it will auto convert to "count of xxx")
Measure sample:
SelectedItem= If(Hasonvalue(Table[Column],Values(Table[Column]),Blank()) Displayed=If([SelectedItem]="abc",Max(Table2[Input]),If([SelectedItem]="def",Max(Table2[output]),Max(Table2[combined]))
BTW, legend not support measure, calculated column not support to dynamic change result with slicer. So I think current it impossible to dynamic change the legend field.
Regards,
Xiaoxin Sheng
See the discussion at "Using slicer to choose which dimension to display". I beleive that it is relevant to what you are trying to accomplish.
My suggestion would be to use a clustered column chart with the following setup:
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 37 | |
| 28 | |
| 27 |
| User | Count |
|---|---|
| 124 | |
| 89 | |
| 73 | |
| 66 | |
| 65 |