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
SomnathPatil
New Member

Source code of Power Bi Pbix File

Hi 

 

How to get source code of Power BI Pbix file having developed and published reports? 

 

Regards

Somnath

1 ACCEPTED SOLUTION
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @SomnathPatil,

 

Here is a blog sharing detailed steps to view the contents of a PBIX file:

What makes up a Power BI Desktop PBIX File

 

Regards,

Yuliana Gu

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

View solution in original post

3 REPLIES 3
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @SomnathPatil,

 

Here is a blog sharing detailed steps to view the contents of a PBIX file:

What makes up a Power BI Desktop PBIX File

 

Regards,

Yuliana Gu

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

You can rename the pbix file to zip and extrac the zip file to get to the source code files.  If you do decide to change the xml code, I recommend pulling the file out of the zip, modify it and drag it back in the zip file, rather than extracting the whole zip file. 

Anonymous
Not applicable

@SomnathPatil,

You can copy your M codes for each of your query in Query Editor (right click on each query and choose Advanced Editor) if using Import mode

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!

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