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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
ldwf
Helper V
Helper V

Line Chart with custom formatting and with a legend

Hello,

 

 I have a simple line chart with circle markers for each month.  Each marker for each month is color formatted based on criteria.  Currently the chart has just one line, and this works fine.  However, when I add a legend to the chart so that I can show multiple lines, all my color formatting of the markers goes away.  Is there any way to have a multi-line chart with color formatted markers together with a legend to distinguish each line?  Thank you

4 REPLIES 4
v-yadongf-msft
Community Support
Community Support

Hi @ldwf ,

 

Please put the fields in the y-axi, not in the legend.

vyadongfmsft_0-1662106567615.png

 

Best regards,

Yadong Fang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks but unfortunately that doesn't help.  Your chart is bringing a metric to the y-axis.  In my case, I want to show a dimension.  I want to show a different line for each value in a dimension and I want the markers to be color/conditionally formatted.  Thanks

Hi @ldwf ,

Based on the information you provided, I can't tell exactly what the problem is? Could you provide some screenshots (hiding sensitive information) to help us better solve your problem.

 

Best regards,

Yadong Fang

amitchandak
Super User
Super User

@ldwf , conditional formatting is not supported with legend or when you use more than one value/measure

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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