I have created a Matrix chart and the Measures in it are getting dynamically selected using a slicer(seperate table with only Measure names). The DAX expression for the slicer table is: Measure Display =
HASONEVALUE ( 'Table2'[Measure] ),
SWITCH ( VALUES ( 'Table2'[Measure] ),
"Sales", [Sales Amt],
"Gross Profit", [Gross Profit Amt],
"Operating Profit", [Operating Profit Amt],
"Gross margin",FORMAT( [Gross Margin Amt], "Percent"),
Now, i have selected this Measure Display into Values in my Matrix chart which is being displayed through the selection done on slicer. But as this is the only field, how can i apply different rules of conditional formatting to different Measures selected through the slicers. Please help
No. It is not available to apply different rules of conditional formatting to different Measures depend on slicer selection.
Thanks for the confirmation.
Can you also please suggest other way around to represent Matrix Chart with Dynamic Measure's selection as per which Measure user wants to see and also the capability to apply different Conditional Formatting to each Measures.
Please reply if you have developed anything a bit similar to my requirement. Any other suggestion is acceptable
As I mentioned above, we can show different measures conditionally based on slicer selection. However, it is not supported to apply different conditional formattings to each measure, no matter which solution we use to achieve showing dynamic measure in visual.