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.
I'm looking at building a template for custom visuals, my plan is to build a generator using Yeoman that will run the pbiviz new CLI command and then update the output and add any files I want as part of my template.
I can see that the CLI already has a templating option, is there anyway I can utilise this to build a custom template?
Or does anyone know of something similar being done for Power BI Custom Visuals? I've searched and searched but can't find anyone trying to do this specific task.
Many thanks
Solved! Go to Solution.
Hi @Anonymous,
You can fork the powerbi-visuals-tools repository and add your own template to the list, and even request for it to be pulled into the main repo, if you feel it's going to help other developers.
For a while, I've worked with the idea of setting up a template repository on GitHub and I used this for a number of visual projects. You can create a new repo from this template repository and this is quite a neat shortcut. I haven't updated it in a while, as I've been working on a new architecture pattern for my own visuals, which I haven't quite perfected yet (at which point I most likely will do), but here's my repository if you want to take a look.
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)
Hi @Anonymous,
You can fork the powerbi-visuals-tools repository and add your own template to the list, and even request for it to be pulled into the main repo, if you feel it's going to help other developers.
For a while, I've worked with the idea of setting up a template repository on GitHub and I used this for a number of visual projects. You can create a new repo from this template repository and this is quite a neat shortcut. I haven't updated it in a while, as I've been working on a new architecture pattern for my own visuals, which I haven't quite perfected yet (at which point I most likely will do), but here's my repository if you want to take a look.
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)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.