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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
EugenioProlog
Helper II
Helper II

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.