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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors