Forum Discussion

GvidoB's avatar
GvidoB
Frequent Visitor
8 years ago
Solved

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?

 

 

Thanks!

  • Anonymous's avatar
    Anonymous
    8 years ago

    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

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    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's avatar
      GvidoB
      Frequent Visitor

      Thank you Anonymous 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.