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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Condtional format matrix

Hi,

 

I have a matrix with values in powerbi. I want to highlight when the value in a row is lower than a previous column.

See below the example with the highlighted values.

Could this be done with conditonal formatting?

 

Annotation PBI.jpg

 

 

Thanks

 

5 REPLIES 5
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,
 
If the problem persists,could you please share sample data or sample pbix?(Please mask any sensitive data before uploading)
 
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Thanks for the link.

I have created a new measure previous period and a measure which calculates the difference between current and previous period.

Only thing is that the underlying rows are highlighted but not the total.

Three columns are shown per period.

 

Actual - Previous Period -  Delta

 Condit. Format.jpg

 

 

Thanks.

Hi @Anonymous ,

 

Unfortunately, this feature is not implemented yet. You can vote for this idea:https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/33425191-conditional-formatting-doesn-t-applied-to-a-grand 

 

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

amitchandak
Super User
Super User

What do you mean by the previous column? In case it is time, you need to create a previous period measure and use diff to color

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

yes, the columns are labeled per yearmonthnr. So what would the measure be? And how do I use conditional formatting on a measure with is not used on the matrix?

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors