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.
Hi,
I created multiple measures using revenue (currency) and order quantity (number) and put them all in a slicer using a new table.
I created this measure and put it in the value field of a line chart:
Page 1 Measures =
Switch(
ALLSELECTED('Metrics Overview'[Measures]),
"GTV MTD",[GTV MTD],
"GTV YTD",[GTV YTD],
"Quantity MTD",[Quantity MTD],
"Quantity YTD",[Quantity YTD]
)
The issue is that the graph only shows values in $, even when selecting quantity measures that sum up numbers. Is there a way to format the y-axis and values based on the measure selected?
Thanks!
Solved! Go to Solution.
@GvidoB,
I am afraid that it is not possible to change Y-Axis value format based on the measure selected. In the Line chart, you drag "Page 1 Measures" into Value of Line chart, thus all the measures use same format as “Page 1 Measures".
Regards,
Lydia
@GvidoB,
I am afraid that it is not possible to change Y-Axis value format based on the measure selected. In the Line chart, you drag "Page 1 Measures" into Value of Line chart, thus all the measures use same format as “Page 1 Measures".
Regards,
Lydia
Thank you @v-yuezhe-msft for the info. It's a shame.
I guess I' ll simply create one visual per format type and have MTD/YTD as selectable options for all of them.