Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
GvidoB
Frequent Visitor

Value format on visual is wrong when using a slicer for multiple measures

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?

 

Screen Shot 2018-05-28 at 10.59.57 PM.png

 

Thanks!

1 ACCEPTED SOLUTION
v-yuezhe-msft
Employee
Employee

@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

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yuezhe-msft
Employee
Employee

@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

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.