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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
SRJPBI
Frequent Visitor

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 2
Anonymous
Not applicable

Hi @SRJPBI 

 

The conditional formatting feature of Power BI Matrix Visual allows you to change colors based on differences in measures or values, but does not allow individual color customization of entire rows.

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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