Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
I'm trying to build a pbiviz from a custom visual I've built in Visual Studio.
Currently the build process creates one massive CustomVisuals.js where my custom visual's class resides. What I need is the stand-alone version of that class so I can zip it up into a .pbiviz. I tried simply pulling it out of CustomVisuals.js but the javascript produced there isn't valid for a pbiviz.
I tried modifying the gulp files but that didn't get me anywhere either.
Pasting to DevTools doesn't work because it doesn't support things like 'let' and 'const' which are used extensively.
How do you generate the files necessary to create a .pbiviz, namely the visual's .js & .css files, from Visual Studio?
Vote for it,
Or contribute to the Github project and community by building a gulp tast creating the pbiviz (which is just a zip) yourself
Is there any update on this question? How are we able to modify existing visualisations that use unsupported keywords etc..
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |