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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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.

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

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors