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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
JeffTrevorJones
Frequent Visitor

Power BI Project files and Composite Models

I've converted our pbix files to Power BI Project (pbip) files in order to leverage source control with Git and Azure DevOps.  Several of my models in the pbix format are composite models.  When doing an initial pull from the workspace, the composite models in the pbip format now reference the direct query dataset directly so changes to the dataset in what was the composite model changes the underlying model.

 

How can I convert the direct reference to the source data model back to a direct query?

 

Thank you for your help.

1 ACCEPTED SOLUTION
v-yilong-msft
Community Support
Community Support

Hi @JeffTrevorJones ,

Firstly I think you can open the PBIP file that contains the composite model. Then you can go to the Model view and identify the tables that are directly referencing the dataset.

 

Select the table that is currently in Import mode.

vyilongmsft_0-1723701176538.png

In the Properties pane, change the Storage Mode to DirectQuery.

vyilongmsft_1-1723701461969.png

 

You can also go to Power Query and edit the Advanced Editor.

vyilongmsft_2-1723701761961.png

 

 

 

Best Regards

Yilong Zhou

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

2 REPLIES 2
JeffTrevorJones
Frequent Visitor

Thank you Yilong 

v-yilong-msft
Community Support
Community Support

Hi @JeffTrevorJones ,

Firstly I think you can open the PBIP file that contains the composite model. Then you can go to the Model view and identify the tables that are directly referencing the dataset.

 

Select the table that is currently in Import mode.

vyilongmsft_0-1723701176538.png

In the Properties pane, change the Storage Mode to DirectQuery.

vyilongmsft_1-1723701461969.png

 

You can also go to Power Query and edit the Advanced Editor.

vyilongmsft_2-1723701761961.png

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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