Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I am using a field parameter which contains two measures:
Parameter = {
("Sales Price", NAMEOF('Measure'[Sales Price]), 0),
("Unit Sold", NAMEOF('Measure'[Unit Sold]), 1)
}
I can use the Slicer visual and turn on single selection to use one measure at a time. It will look something like:
But my requirement is to create a toggle button like:
Solved! Go to Solution.
There is no default visual in Power BI like the one you want but you can use a custom visual like this one in the AppSource. First, add a parameter in the data field. Then in the visual properties, under switch, set Value(s) for ON: Sales Price and Unit Sold for OFF (or the other way round)
There is no default visual in Power BI like the one you want but you can use a custom visual like this one in the AppSource. First, add a parameter in the data field. Then in the visual properties, under switch, set Value(s) for ON: Sales Price and Unit Sold for OFF (or the other way round)
| User | Count |
|---|---|
| 57 | |
| 44 | |
| 32 | |
| 16 | |
| 14 |
| User | Count |
|---|---|
| 84 | |
| 69 | |
| 38 | |
| 27 | |
| 25 |