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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
TomasPac
Helper I
Helper I

highlight line chart values that is bellow the axis

Hello I need to make my line chart so it could color the negative values that is bellow the axis in red.

Now I have line chart with multiple items in legend and every line has a different color. What I want is like a IF statement, IF value <=0 line color red. Can I do that?? I'm attaching a screenshot of my chart.Untitled.png

1 REPLY 1
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @TomasPac ,

By my tests and research, I'm afraid that there is no conditional formatting for line chart in power bi currently.

You could vote this similar idea here  and add your comments there to improve Power BI and make this feature coming sooner.


What I want is like a IF statement, IF value <=0 line color red. Can I do that?? I'm attaching a screenshot of my chart.

You idea is good, but you have legend value in the line chart so I think the IF function will not work.

Normally, to achieve conditional formatting, we could use the measure with If as a workaround if you do not have legend value in the line chart.

Best Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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