cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Custom visual for Clustered Bar chart to have more than one measure with Legend

Hi,

I have a requirement wherein I need to show comparison between two measures using a clustered bar chart.

The category column (on X axis) is required to be part of Legend as there is a custom color scheme being followed throughout the application in which the report will be integrated.

The clustered bar chart doesnt give an option of adding more than one column when Legend is being used.

https://community.powerbi.com/t5/Desktop/Legend-is-not-allowing-when-in-values-section-two-measures-...

I am trying to create a custom clustered bar chart and using the sampleBarChart code available below.

https://onedrive.live.com/?authkey=%21AB0-rP7jb9urmHs&cid=C3D44232D04D59CF&id=C3D44232D04D59CF%21115...

I am new to d3 can anyone help me understand what properties in which file I need to change to be able to use more than one column in measure values with using Legend.

1 REPLY 1
v-evelk Senior Member
Senior Member

Re: Custom visual for Clustered Bar chart to have more than one measure with Legend

Hi,

 

1. I notified the Clustered Bar Chart team about your request so they will consider it and will probably added in the next releases.

 

2. To handle a backet limits you need to edit conditions section in capabilities.json.

There is a documentation page where you can find how to manage conditions.

 

Kind Regards,

 

Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Users Online
Currently online: 293 members 2,986 guests
Please welcome our newest community members: