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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Top Kudoed Authors