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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Satish_Kumar
Helper V
Helper V

How to find the embedded code of our Power BI desktop report?

Hi All,

 

Can anyone tell me that how to see the embedded code of the report which was developed in Power BI desktop.

As i found in the link :-

https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html

 

 

Regards,

Satish kumar 

3 REPLIES 3
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Satish_Kumar,

 

Could you please mark the proper answer as solution?

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
bajee
Kudo Kingpin
Kudo Kingpin

Hi,

 

You can't geneareate the embeded code of the report using Power BI Desktop.

 

You have to publish the report to power service then click on report option choose the report which you want to generate the code then go to file option there you will find option called publish to wed or publish sharepoint select that generate the code.

 

If you want to manage code the goto setting option of power bi service then select manage embed code option there you can get the embed code and you can delete code.

 

Regards,

Bajee.

v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi Satish,

 

You can't embed a Desktop report file that is stored in the local machine. You need to publish it to the Service first. Please refer to this documentation for embedding.

 

Best Regards,

Dale

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

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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 Kudoed Authors