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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
March PBI video - carousel

Power BI Monthly Update - March 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors