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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

How to change the column color?

In PowerBI I try to change the column color to red when monthly sales amount doesn't reach the target and green when the target is reached. In the format of old version has data colors where you can default color, but in the new version do not have it. How can I change the colors?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Right click on the value in the Visualizations slide. Then select conditional formatting. You can adjust it based on background color or font color, etc. Once the pop up shows, select the correct formatting: gradient, field value, or rules. I find that rules is the most adjustable, you just have to fiddle with it sometimes.

View solution in original post

3 REPLIES 3
v-yanjiang-msft
Community Support
Community Support

Hi @Anonymous ,

Is your problem solved?? If so, Would you mind accept the helpful replies as solutions? Then we are able to close the thread. More people who have the same requirement will find the solution quickly and benefit here. Thank you.

Best Regards,
Community Support Team _ kalyj

v-yanjiang-msft
Community Support
Community Support

Hi @Anonymous ,

Has your problem solved by @Anonymous 's suggestion, if you need the formula to set the colour, here's my solution.

Sales table:

vkalyjmsft_0-1658492209401.png

Target table:

vkalyjmsft_1-1658492233127.png

The two tables related with the month column. Create a measure:

 

Color =
IF ( SUM ( 'Sales'[Sales] ) >= MAX ( 'Target'[Target] ), "Green", "Red" )

 

In the visualization settings pane>Cell element, turn on the backgroud color and click the fx button.

vkalyjmsft_2-1658492440404.png

Select field value and select the color measure in the dialog.

vkalyjmsft_4-1658492610956.png

Get the result.

vkalyjmsft_5-1658492666118.png

I attach my sample below for reference.

 

Best Regards,
Community Support Team _ kalyj

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

Anonymous
Not applicable

Right click on the value in the Visualizations slide. Then select conditional formatting. You can adjust it based on background color or font color, etc. Once the pop up shows, select the correct formatting: gradient, field value, or rules. I find that rules is the most adjustable, you just have to fiddle with it sometimes.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors