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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

How to use 2 pbix files as source databases?

Hi All,

 

Please can you tell me how to create a pbix file that uses 2 other pbix files as data sources?

 

For the source pbix files: I have one pbix file that refreshes automatically nightly, and I have one pbix file that we refresh manually once per month (after the accounts have been finalised). Both are hosted on Service.

 

I have found this webpage https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-report-lifecycle-datasets but it only refers to linking a pbix file to one single file via a Live connection.

 

Thanks for your help!

 

CM

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Yes you could. You will have at the end a flow like this: Original Files > Dataflow > Dataset. Only constraint is that you should have a Premium Workspace, a Pro Licenser or Premium Per User to create a dataflow.

View solution in original post

v-angzheng-msft
Community Support
Community Support

Hi, @Anonymous 

 

Connecting PowerBI datasets with direct query allows you to connect multiple datasets.

in Power BI Desktop go to File > Options and settings > Options, and in the Preview features section, select the DirectQuery for Power BI datasets and Analysis Services checkbox to enable this preview feature.

vangzhengmsft_0-1625711417882.png

Sample:

vangzhengmsft_1-1625711759288.pngvangzhengmsft_2-1625711768609.pngvangzhengmsft_3-1625711812266.png

See the links below for more information

https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-directquery-datasets-azure-analysis-s...

 

Hope this helps.

 

Best Regards,
Community Support Team _ Zeon Zheng
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

4 REPLIES 4
v-angzheng-msft
Community Support
Community Support

Hi, @Anonymous 

 

Connecting PowerBI datasets with direct query allows you to connect multiple datasets.

in Power BI Desktop go to File > Options and settings > Options, and in the Preview features section, select the DirectQuery for Power BI datasets and Analysis Services checkbox to enable this preview feature.

vangzhengmsft_0-1625711417882.png

Sample:

vangzhengmsft_1-1625711759288.pngvangzhengmsft_2-1625711768609.pngvangzhengmsft_3-1625711812266.png

See the links below for more information

https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-directquery-datasets-azure-analysis-s...

 

Hope this helps.

 

Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Try creating a dataflow that uses as entities the datasets from Power BI Service, then in Desktop, import that dataflow using the Power BI Dataflow connector.

Anonymous
Not applicable

Thanks @Anonymous. Would I then be able to upload the pbix file to Service and have it run scheduled updates from other 2 pbix files on Service (via the dataflow of course)?

Anonymous
Not applicable

Yes you could. You will have at the end a flow like this: Original Files > Dataflow > Dataset. Only constraint is that you should have a Premium Workspace, a Pro Licenser or Premium Per User to create a dataflow.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.