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
necker
Frequent Visitor

Line Chart Conditional Formatting with Multiple Lines

Hi there, 

I have been working at this for a while with no luck - hoping someone in the community can help! 

I have a line chart that I have applied conditional formatting to so that I can see dots appear on the line after a field reaches a certain threshold. However, I need to display two lines on this line chart and I only want the dots to show up on one of them. I followed these instructions to create these dots: https://www.biinsight.com/quick-tips-line-chart-and-area-chart-conditional-formatting-in-power-bi/

 

My measure to create the condition is (I am hoping to apply the conditional formatting to ONLY the Intraday Exposure line - possibly something I can modify here?):

Perc Change Conditional Formatting =

var selection = SELECTEDVALUE('NSCC Intraday'[Intraday Exposure])

return

SWITCH(TRUE()

, ISBLANK([All Account % Change Tooltip]), BLANK()

, [All Account % Change] <= -80, "Orange"

, BLANK()

)

 

Results right now (Again, I only want the dots on the Intraday Exposure line, NOT the SOD Exposure line):

Line Chart Conditional Formatting.PNG

1 REPLY 1
v-diye-msft
Community Support
Community Support

Hi @necker 

 

you might consider creating pbix file that will contain some sample data (remove the confidential info), upload the pbix to onedrive for business and share the link to the file. Please do not forget to describe the expected results based on this sample data.

 

Community Support Team _ Dina Ye
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.