cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Aradhana
Frequent Visitor

Showing two legends in bar graph, One is for Goal, Actual and Other one is for different products

Hi All,

 

I need to show two legends in Bar graph like shown below.

 

Aradhana_0-1651239251862.png

One is for Goal and Actual , other one is for different products.

7 to 10, first product was produced. At 9, there was product change so there are 4 graphs between 9 to 10 and it continued till 13. Third product was produced from 13 to 15.

 

Is this possible.

 

Thanks,

Aradhana

1 ACCEPTED SOLUTION
yingyinr
Community Support
Community Support

Hi @Aradhana ,

Currently the bar chart only supports a single legend field in Power BI. Please check the links below to see if it can be used as an alternative...

Method 1. Create a calculated column or custom column that combines the type ( with Goal and Actual values) and product fields, and place this new column under the legend option

Custom Visualisation for multiple legends and values

yingyinr_0-1651563668884.png

Method 2. Add a custom legend as shown in the video below

Want a custom LEGEND for your Power BI visual? WATCH THIS!

In addition, you can raise a new idea and add your comments there to make this feature coming soon. 

Best Regards

Community Support Team _ Rena
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
yingyinr
Community Support
Community Support

Hi @Aradhana ,

Currently the bar chart only supports a single legend field in Power BI. Please check the links below to see if it can be used as an alternative...

Method 1. Create a calculated column or custom column that combines the type ( with Goal and Actual values) and product fields, and place this new column under the legend option

Custom Visualisation for multiple legends and values

yingyinr_0-1651563668884.png

Method 2. Add a custom legend as shown in the video below

Want a custom LEGEND for your Power BI visual? WATCH THIS!

In addition, you can raise a new idea and add your comments there to make this feature coming soon. 

Best Regards

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

Helpful resources

Announcements
June 2022 update 768X460.jpg

Check it out!

Click here to read more about the June 2022 updates!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

June 20 episode 7 with aka link 768x460.jpg

The Power BI Community Show

Join us on June 20 at 11 am PDT when Kim Manis shares the latest on Azure Synapse analytics, the Microsoft Intelligent Data Platform, and notable Power BI Updates from Microsoft Build 2022.

Top Solution Authors
Top Kudoed Authors