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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Dear All,
I want to make a circular gauge ,I used following published code to make it
https://github.com/maqsoftware/PowerBI-visuals/tree/master/src/CustomVisuals/Published/CircularGauge
But I get following error" Cannot find name '_'."as in image .
I add the following
npm install lodash --save
typings install dt~lodash --save
but still not working.
Please help since I am new to coding world.
Thank You In Advance,
Best Reagrds,
Dora
Solved! Go to Solution.
ES2015 modules are not supported by Power BI Csutom Visuals Tools (pbiviz).
We'd recommend to use older version of lodash and lodash types:
npm i @types/d3@3.5.36 d3@3.5.5
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Did you include a link to lodash.d.ts into tsconfig.json?
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Yes , I insatll the lodash from this:-npm install --save lodash @types/lodash,but cannot find the "lodash.d.ts" file.Now I get the error as follows.
Best regards,
Dora
ES2015 modules are not supported by Power BI Csutom Visuals Tools (pbiviz).
We'd recommend to use older version of lodash and lodash types:
npm i @types/d3@3.5.36 d3@3.5.5
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
User | Count |
---|---|
11 | |
4 | |
4 | |
3 | |
3 |