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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Regular Visitor

Line chart with conditional formatting and legend


I am very new to power bi. So here is my doubt..

I know there is alternative to do conditional formatting in line chart using bar chart, but I want conditionl formatting with legend. 

So for ex., I have 4 column, 1. Tag_value, 2. Anomaly(Has only 0 and 1 values), 3.Tag name 4. Timestamp

I want to create a line chart where x-axix will be the timestmap and y-axix will be the Tag_value and legend will be the Tag_name. But on baisis of anomaly if at any timestamp the anomaly is 1 then that point will be visible as red .

Thanks a lot in advance!

Community Support
Community Support

Hi, @astul1235 


It is unsupported to apply conditional formatting on line charts in Power BI currently. I'd like to suggest you vote this idea which has been submitted in Power BI ideas forum, and add your comments there to improve Power BI for making this feature coming sooner.


Best Regards



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

Super User
Super User

@astul1235 ,The information you have provided is not making the problem clear to me. Can you please explain with an example.

Appreciate your Kudos.

Helpful resources

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.