cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Qianhua Occasional Visitor
Occasional Visitor

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

Accepted Solutions
v-yulgu-msft Super Contributor
Super Contributor

Re: Legend not working in stacked column chart

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 Super Contributor
Super Contributor

Re: Legend not working in stacked column chart

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

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 48 members 713 guests
Please welcome our newest community members: