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
Qianhua
New Member

Legend not working in stacked column chart

Target: I have two table of data (dataset1, dataset2) with exactly the same structure but with different dates. I want to compare the inventory composition of the two dates using the stacked column chart.

 

What I did: I created another two table "date" and "category" and connected them with dataset1 and dataset2. And then I tried to create the stacked column chart.

 

Problem: But I couldn't add legend (I couldn't drag the category into the legend field, and when I tick the categroy it automatically goes into the row field). (see the first picture) But when I just choose the value from 1 table the legend field works (see the second picture).

 

Who can help me figure the problem out? Thanks in advance!!

 

Unbenannt.PNGUnbenannt.PNG

1 ACCEPTED SOLUTION
v-yulgu-msft
Employee
Employee

Hi @Qianhua,

 

This is a by design behavior. In Stacked Column Chart, when you add multiple fields into value section, it is not allowed to add legend. If you add field to legend, then, we can only add one field into value section.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yulgu-msft
Employee
Employee

Hi @Qianhua,

 

This is a by design behavior. In Stacked Column Chart, when you add multiple fields into value section, it is not allowed to add legend. If you add field to legend, then, we can only add one field into value section.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
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.