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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Line Chart Multiple Values Conditional Formatting

How can I do conditional formatting for mulitple values in a line chart? I am able to do conditional formatting for single value by formatting as a column chart then converting to a line chart. But when i add multiple values, the conditional formatting tab disappears. 

 

Sample Data:

Krkrang_0-1656991265223.png

The date column is created based on the Created Column using time based conditional column to write day/night and combing with date (dd/mm/yyyy). 

 

The conditional formatting is based on the status column where 3 = green, 2= yellow, 1 =red

 

Would this also be possible with a secondary value in the line chart since i have another column of data which is in the hundred thosuand ranges (also comes with status 1,2,3).

 

This is what i want but mutliple lines. The line colours will be different for the other lines based on legend any colour is fine.

Krkrang_0-1656992029509.png

 

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , You can enable a secondary axis in line visual and use another y-axis.

 

You can not have a secondary axis and conditional formatting with the legend

 

and also you can not have conditional formatting with more than one measure

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

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors