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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Line chart with conditional formatting and legend

Hi,

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!

2 REPLIES 2
v-alq-msft
Community Support
Community Support

Hi, @Anonymous 

 

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

Allan

 

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

amitchandak
Super User
Super User

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

Appreciate your Kudos.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.