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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors