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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

How to apply the legend only to the primary values in a 2-line line chart?

BOTGAB_0-1608624188315.png

Here you can see I visualize a column with a legend, which works fine. But after this I need to put a column from a different table into this chart. The 2 tables don't have anything in common but the dates. I cannot put that field into the canvas if I don't get rid of the legend because the legend can't handle the other field. Is there a way to set the legend to only be applied to the primary values? 

 

Thank you in advance!!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

You can only have one column/measure in the value field when using legend field. You may consider to remove legend field and add multiple columns/measures to value field.

 

Best Regards,

Jay

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

You can only have one column/measure in the value field when using legend field. You may consider to remove legend field and add multiple columns/measures to value field.

 

Best Regards,

Jay

amitchandak
Super User
Super User

@Anonymous , Not very clear. If you are using legend, you can not have 2 values/measure.

 

The way to use prod_level with other table, where it is not joined, is to populate one value on the key in new column and join with prod_level.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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