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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
etheil
Helper I
Helper I

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

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

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Kudoed Authors