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
Anonymous
Not applicable

Custom Visuals: Building a Custom Template

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

1 ACCEPTED SOLUTION
dm-p
Super User
Super User

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





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)




View solution in original post

1 REPLY 1
dm-p
Super User
Super User

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





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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.