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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
sandeepsingh
Frequent Visitor

Connect to Data Model in local .pbix file.

HI,


Can I connect to data model which is present in different .pbix file on the hard disk.
Note I have not published the report and do not intend to connect to published dataset but the data model present in .pbix file on local drive.

Further on the same vein, can I connect to power pivot data model present in excel file

 

Thanks

1 ACCEPTED SOLUTION
OwenAuger
Super User
Super User

Hi @sandeepsingh 

 

Yes, to connect to a dataset in a local PBIX (which must itself be open in Power BI Desktop):

  1. Determine the port number of the dataset PBIX using DAX Studio for example.
  2. In a new PBIX, connect to Analysis Services with live connection, specifying localhost:port# as the database.

If you have an existing report connected to a published dataset, you can use the Hot Swap Report Connections tool to change the connection.

 

As far as Power Pivot, not sure off the top of my head, but I would imagine it's technically possible, given that DAX Studio and tools like Tableau can connect to Power Pivot data models. Will look into that, or someone else may know a convenient method.

 

Regards,

Owen


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

View solution in original post

2 REPLIES 2
kondado
Advocate III
Advocate III

Hi @OwenAuger ,

 

I just wanted to say a big thank you for the clear and concise tips in your reply. It's exactly what I needed. Also, Business Ops for PBI is like Microsoft Store for Power BI.

 

I wanted a way to locally connect all my "live reports" to the golden dataset to let Measure Killer check everything. Haven't done it yet, but with this, I'm a few steps closer.

Regards.

OwenAuger
Super User
Super User

Hi @sandeepsingh 

 

Yes, to connect to a dataset in a local PBIX (which must itself be open in Power BI Desktop):

  1. Determine the port number of the dataset PBIX using DAX Studio for example.
  2. In a new PBIX, connect to Analysis Services with live connection, specifying localhost:port# as the database.

If you have an existing report connected to a published dataset, you can use the Hot Swap Report Connections tool to change the connection.

 

As far as Power Pivot, not sure off the top of my head, but I would imagine it's technically possible, given that DAX Studio and tools like Tableau can connect to Power Pivot data models. Will look into that, or someone else may know a convenient method.

 

Regards,

Owen


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.