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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi,
I added an external library using npm and added a reference in "externalJS" in pbiviz.json, as described here:
https://github.com/Microsoft/PowerBI-visuals/blob/master/Tutorial/ExternalLibraries.md
However, when I try to create a new object I get an error saying that it 'cannot find name' of the package/constructor.
Do I miss somethere here? Do I need add some kind of import statement?
Thanks,
Martijn
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |