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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Seattle-1
Frequent Visitor

How to connect .odc file or Excel file via Power BI Desktop

Currently, I do not have the source information connecting to the SSAS cube directly.

 

I only have two cube files. One is stored in .odc file, and the other is stored in Excel file (pivot table).

 

Does anyone know how to connect to it via Power BI Desktop? What type of connections do they belong to in Power BI Desktop?

1 ACCEPTED SOLUTION
v-sihou-msft
Microsoft Employee
Microsoft Employee

@Seattle-1

 

The .odc file is the connection within Excel only. Power BI Desktop can't import or directly use it. However, you can read the Server Name, Database Name in .odc file. Then connect it from Power BI Desktop. 

 

For excel with pivot table connecting SSAS, you can directly import Excel workbook. 

 

123.PNG

 

Regards,

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

You can go to Data --> Queries and Connections 

After you click on these you should see a connection on the right panel.

Right-click on this connection and select "Properties" in the pop-up menu.

Then go to "Definition" where you should see the details.

v-sihou-msft
Microsoft Employee
Microsoft Employee

@Seattle-1

 

The .odc file is the connection within Excel only. Power BI Desktop can't import or directly use it. However, you can read the Server Name, Database Name in .odc file. Then connect it from Power BI Desktop. 

 

For excel with pivot table connecting SSAS, you can directly import Excel workbook. 

 

123.PNG

 

Regards,

Thank you for your input.

 

It is good to know that the server and the database name can be found in the .odc file.

 

 

webportal
Impactful Individual
Impactful Individual

I have exactly the same issue.

Since Power BI Desktop doesn't connect to .odc files, how do I retrieve the database name and credentials from that file?

Helpful resources

Announcements
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.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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