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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors