Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi All ,
I have an already existing json file that contains a code source to create a new PBI visualization and I need to import it in power BI desktop , could you please let me know how this can be done and what steps to follow ?
Thanks in advance ,
Ismail
@Anonymous,
To import a custom visual into a Power BI report, package it as a single .pbiviz file.
https://docs.microsoft.com/en-us/power-bi/power-bi-custom-visuals
Hello @v-chuncz-msft,
Thanks for the reply ,
The point is that I am new in PBI and not really familiar with JS coding , the link below contains the visual that I neew to import and I need to know how to package the .pbiviz file as well as the tools needed .
I would really appreciate if you can provide some help on this one .
https://bl.ocks.org/mbostock/4339083
Best regards,
Ismail
To use Collapsible Tree in Power BI you should develop a new custom visual in TypeScript by following this documentation.
Another way is to use D3.js Visual that has Collapsible Tree as a example.
@jppp developed this custom visuals. Feel free to ask any questions.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Hello @v-viig
Thanks for the help ,
Do you probably have an Idea how can I convert the code in the previous link into a cde that is compatible with a power pbi visual , many people recommend to use visual studio code but I am not sure where and how to put the code in visual studio .
Regards,
Ismail
As a simpliest solution I'd recommend to use D3.js visual.
If you want to create a new visual you should follow documentation.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals