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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.