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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
MKPA
Regular Visitor

Unable to change PBIX into ZIP - trying to change data source

Hello, 

I need to change the datasource of my report. I can't, however, do it traditionally through data source settings in PowerBI Desktop. I have to change the datasource before opening my report. I found this fix: 

Edit PBIX files (especially data source settings) ... - Microsoft Fabric Community

According to a response on this post I should be able to change my report to zip file and then edit the "Connections" file. But I can't seem to be able to edit the type of my file. When changing the name of the file there is no way to edit the extension. I haven't found any other way to change the type.

MKPA_0-1713183698625.png

Is there a way that I'm missing to change the pbix to zip? Or maybe do you have another idea on how to change the datasource outside of PowerBI Desktop? 

 

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

Hi @MKPA 

 

Assuming you are using Windows.  If you have W11, in Windows Explorer go to the View menu -> Show -> File name extensions

 

If you have an older version of Windows, you need to go File -> Options -> View -> uncheck the box 'Hide file extensions for known file types'.

 

You should now be able to see the file extension and change it.

 

You could also do this in a Windows Command Prompt window, by renaming the file from FileName.pbix to FileName.zip

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

5 REPLIES 5
PhilipTreacy
Super User
Super User

Hi @MKPA 

 

Assuming you are using Windows.  If you have W11, in Windows Explorer go to the View menu -> Show -> File name extensions

 

If you have an older version of Windows, you need to go File -> Options -> View -> uncheck the box 'Hide file extensions for known file types'.

 

You should now be able to see the file extension and change it.

 

You could also do this in a Windows Command Prompt window, by renaming the file from FileName.pbix to FileName.zip

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Thanks for the reply I was looking for this and it resolved my query. Just wanted to ask in which file can we check all our reports xml/json exist.
Is it this:

Sidhant_0-1744010341122.png

Regards,
Sidhant

AnalyticPulse
Super User
Super User

you just have to rename the file and and add .zip at the end to convert it to zip.

Of course I tried to add ".zip". It didn't work.

it has to work, copy your file to your phone and then rename it, it'll work.

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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