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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
ArchStanton
Power Participant
Power Participant

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
Power Participant
Power Participant

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.