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
yuktadiya
Helper II
Helper II

for line chart need to write condition for lines for color change

Capture123.JPG

hi All

If below 80%, should be Red color

If 80% or more, should be Green

Note : the line color has to change 

 

regards

Dilip

3 REPLIES 3
yuktadiya
Helper II
Helper II

thanks but i need to change line color not the dots 

@yuktadiya , With Standard visual @FreemanZ  is correct. There is no other option.

 

You can try charticulator (But check is it still supported)

https://www.youtube.com/watch?v=k5c-KtU2k_U

FreemanZ
Super User
Super User

hi @yuktadiya 

1) change the line chart to column chart

2) conditionally format the column color with a measure like:

color =
IF(
[Measure]<0.8,
"red", "green"
)

3) change the column chart back to line chart.  it looks like:

FreemanZ_0-1682344006377.png

 

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.