Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
kaushal12
New Member

Clustered bar graph

Hello, can anyone help me create a custom clustered bar graph or let me know if it already exist

1 REPLY 1
dm-p
Super User
Super User

I'm working on one, but it's nowhere near ready for sharing or publication yet. I'll open-source it when ready but it's probably a month or so off doing that at the moment.

I started with the sample bar chart and then used this d3 example to make mine work. You'll need an extra field in your dataRoles to work with, and you'll need two x-axes for the clustered bars: one to manage the clustering (category) and one that works inside that to position the series/legend field values. It's all in the example but those are thekey differences to consider vs. the sample bar chart.

Alternatively, you could use this Vega-Lite example and build everything using JSON and your data rather than using d3, if you need something more straightforward.

Good luck!

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.