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
ArchStanton
Impactful Individual
Impactful Individual

KPI Line Chart - Conditional Formatting Required

Hi,

Is it possible to conditionally format the chart below so when the line falls under 85% it turns red?

 

ArchStanton_1-1667405104943.png

 

I am not using any measures just SUM totals from this simple table:

ArchStanton_0-1667405064804.png

 

Thanks,

 

 

1 ACCEPTED SOLUTION
v-yadongf-msft
Community Support
Community Support

Hi @ArchStanton ,

 

As a workaround, please add a column like below shown:

vyadongfmsft_0-1668161010354.png

 

I think this is the result you want:

vyadongfmsft_2-1668161106650.png

 

 

Best regards,

Yadong Fang

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

View solution in original post

5 REPLIES 5
v-yadongf-msft
Community Support
Community Support

Hi @ArchStanton ,

 

As a workaround, please add a column like below shown:

vyadongfmsft_0-1668161010354.png

 

I think this is the result you want:

vyadongfmsft_2-1668161106650.png

 

 

Best regards,

Yadong Fang

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

ArchStanton
Impactful Individual
Impactful Individual

Can someone confirm if it is possible to change the colour of a line if it falls below e.g zero?

If this feature is not available in PowerrBI I'll close the ticket.

Thanks,

amitchandak
Super User
Super User

@ArchStanton , You show a red marker

 

Create measure

If([AOQS KPI] < [Overall], "green", "red")

 

use in conditional formatting for BAR visual using field value option. Once done , change it to line

 

How to do conditional formatting by measure and apply it on pie?
https://www.youtube.com/watch?v=RqBb5eBf_I4&list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L
https://community.powerbi.com/t5/Community-Blog/Power-BI-Conditional-formatting-the-Pie-Visual/ba-p/...
https://amitchandak.medium.com/power-bi-where-is-the-conditional-formatting-option-in-new-format-pan...

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

Can someone confirm if it is possible to change the colour of a line if it falls below e.g zero?

If this feature is not available in PowerrBI I'll close the ticket.

Thanks,

Hi,

I don't think its possible according to your links to have a line change colour when it dips below a certain number (I don't want different coloured markers, I want the line itself to change).

 

I've figured out how to Conditionally Format the Card.

Thanks

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.