The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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)