cancel
Showing results for 
Search instead for 
Did you mean: 
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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.