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
MostafaGamal
Helper V
Helper V

Line Graph color

Hi all,

I use the following formula to change the color of the graph line based on the value if the graph line 

and it works fine 

33333333333333333.PNG

but when in choose the slicer to filter only on line graph it didnt work and the color not following the formula 

 

111111111111.PNG22222222222222222.PNG

 

 

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @MostafaGamal , you can try @tex628 's solution and then change the field's format to Percentage to make it display in Percentage format in the chart. This does work.

10214.jpg

View solution in original post

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @MostafaGamal , you can try @tex628 's solution and then change the field's format to Percentage to make it display in Percentage format in the chart. This does work.

10214.jpg

tex628
Community Champion
Community Champion

Change all the references to number instead of percent:

image.png

I'm honestly not sure why it's not working with the percent values. But this should work. 

/J 


Connect on LinkedIn

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.