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
EugenioProlog
Helper I
Helper I

conditional formatting based on each column

I'm creating a cohort analysis, where I have Aging (months) on Rows  and company size on Columns. My values are my remaining customers. I then added conditional formatting background color, but I noticed it applies to the values on all rows (227 is the maximum) and I want the color gradient to be applied to each column separately. Is there a way to do that?

EugenioProlog_0-1748355329081.png

 

1 ACCEPTED SOLUTION
bhanu_gautam
Super User
Super User

@EugenioProlog 

Select the Table or Matrix Visual: Click on the table or matrix visual where you want to apply the conditional formatting.

Open Conditional Formatting: Go to the "Format" pane, expand the "Conditional formatting" section, and select the field you want to format.

Choose Background Color: Click on the "Background color" option.

Format by Field Value: In the conditional formatting settings, choose "Format by" and select "Field value".

Select the Field: Choose the field that contains the values you want to use for the color gradient. This should be the same field that is used in the column you are formatting.

Apply to Each Column Separately: Repeat the above steps for each column you want to format separately. This way, each column will have its own color gradient based on its own values.




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






View solution in original post

1 REPLY 1
bhanu_gautam
Super User
Super User

@EugenioProlog 

Select the Table or Matrix Visual: Click on the table or matrix visual where you want to apply the conditional formatting.

Open Conditional Formatting: Go to the "Format" pane, expand the "Conditional formatting" section, and select the field you want to format.

Choose Background Color: Click on the "Background color" option.

Format by Field Value: In the conditional formatting settings, choose "Format by" and select "Field value".

Select the Field: Choose the field that contains the values you want to use for the color gradient. This should be the same field that is used in the column you are formatting.

Apply to Each Column Separately: Repeat the above steps for each column you want to format separately. This way, each column will have its own color gradient based on its own values.




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

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.