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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Import a json file to power BI desktop

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

5 REPLIES 5
v-chuncz-msft
Community Support
Community Support

@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

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

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

v-viig
Community Champion
Community Champion

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

pbicvsupport@microsoft.com

Anonymous
Not applicable

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

v-viig
Community Champion
Community Champion

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

pbicvsupport@microsoft.com

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors