Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hello, can anyone help me create a custom clustered bar graph or let me know if it already exist
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
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |