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
etheil
Frequent Visitor

Switching Power BI datasets with Project File (.pbip)

When saving a Power BI report (.pbix) as a project file (.pbip), Power BI desktop no longer allows for switching the data source if connected to a power bi dataset (the message "A DirectQuery connection is required" is displayed).

 

As an example, if I am working on a report in Power BI desktop that connects to a power bi datatset in the power bi service and then save that pbix file as a pbip file, I can no longer change the data source to a different power bi dataset. Pbix files allow the user to switch the Power BI dataset to which the report is connected, .pbib files do not. This functionality is needed when creating a report against a development dataset and then being able to switch the connection to the production version.   

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@etheil , Have you created a M parameter and used it ?

 

example

https://www.youtube.com/watch?v=XIq5vN5oPf8

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@etheil , Have you created a M parameter and used it ?

 

example

https://www.youtube.com/watch?v=XIq5vN5oPf8

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi Amit,

 

Thanks so much for the response. I do have a solution to the problem, but I wanted to point out that the behavior is different when the file is saved as a .pbix as opposed to a .pbib. I was hopting to catch the attention of someone at Microsoft and thought this might be the best place to post.

 

Thanks,

 

Eric

Hi Eric,

The place to go if you have an idea what could be improved with Fabric, "Ideas" is the section to go to: CXP Ideas - Suggest New Idea - URSA (microsoft.com)

Kind regards,
Martin

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors