Forum Discussion

SRJPBI's avatar
SRJPBI
Frequent Visitor
2 years ago

How to apply conditional formatting to matrix rows based on a calculation group?

Hi, I have a matrix in my report which looks like this:

 

 KPI_1KPI_2KPI_3
Value_current10075200
Value_last_week80100200
Growth_vs_last_week25%-25%0%

 

The column headers (KPI_1, KPI_2, and KPI_3) are all measures, which are placed in the 'values' section of the matrix.

The rows (Value_current, Value_last_week, and Growth_vs_last_week) are all calculation items within a calculation group. This calculation group is placed in the 'rows' section of the matrix. The calculation group has been created through Power BI itself, not Tabular Editor.

 

I want to add conditional formatting to the Growth_vs_last_week row only, to show whether growth is positive, negative, or neutral. The result should look like this:

 

 KPI_1KPI_2KPI_3
Value_current10075200
Value_last_week80100200
Growth_vs_last_week25%-25%0%

 

Does anyone know how to do this please?

2 Replies