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
Aradhana
Helper I
Helper I

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
v-yiruan-msft
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
v-yiruan-msft
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
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.