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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
astul1235
Regular Visitor

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, @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

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

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

Appreciate your Kudos.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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