Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! 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)
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |