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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
liamcol
Helper I
Helper I

Connecting to an excel file that is saved under shared file in teams

Hi there, 

 

I am looking to connect to an excel file that is saved in teams files/sharepoint, but I can't find it when i click to get data from excel workbook. 

Has anyone done this before? 

 

Thanks 

1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @liamcol ,

 

Icey_0-1632290868187.png

 

We can find that when we share a file with others via teams, it will be stored in OneDrive by default. So if you want to connect to an excel file that is saved under shared file in teams, it is equivalent to connect to an excel file saved in OneDrive.

 

Then refer to the document @amitchandak mentioned and you can get what you want.

 

1. Open the excel file in Desktop App.

Icey_2-1632291643170.png

 

2. Copy path.

Icey_3-1632291878334.png

 

3. Connect to the file via Web connector in Power BI Desktop and delete "?web=1".

 

Icey_1-1632291403622.png

 

4. Authentication.

access.PNG

 

5. Click "Connect" and you will get what you want.

Icey_4-1632292059653.png

 

 

Best regards

Icey

 

If this post helps, then consider Accepting it as the solution to help other members find it faster.

 

View solution in original post

2 REPLIES 2
Icey
Community Support
Community Support

Hi @liamcol ,

 

Icey_0-1632290868187.png

 

We can find that when we share a file with others via teams, it will be stored in OneDrive by default. So if you want to connect to an excel file that is saved under shared file in teams, it is equivalent to connect to an excel file saved in OneDrive.

 

Then refer to the document @amitchandak mentioned and you can get what you want.

 

1. Open the excel file in Desktop App.

Icey_2-1632291643170.png

 

2. Copy path.

Icey_3-1632291878334.png

 

3. Connect to the file via Web connector in Power BI Desktop and delete "?web=1".

 

Icey_1-1632291403622.png

 

4. Authentication.

access.PNG

 

5. Click "Connect" and you will get what you want.

Icey_4-1632292059653.png

 

 

Best regards

Icey

 

If this post helps, then consider Accepting it as the solution to help other members find it faster.

 

amitchandak
Super User
Super User

@liamcol , for SharePoint you have to get a link like, what is given in this document

 

https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-use-onedrive-business-links

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.