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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
123456789123456
Frequent Visitor

Data Flow - specify how to connect after filename change

Hi,


I'm using a dataflow to transform an unordered/untabled excel into something useful for a couple of datasets.
This was working fine with the 2020.xlsx file. Sadly it got removed from the sharepoint and is now the 2021.xlsx file.
the small change needed to be done - change the web contents url from ...2020 to ...2021 is causing issues.

The "Please specify how to connect." message will pop up and login/logout changes don't help at all. How can I deal with this really basic problem?


Codepart leading to error:

let
Source = Excel.Workbook(Web.Contents("https://someones.sharepoint.com/sites/aFolder/2021.xlsx"), null, true),
#"Importantlist" = Source{[Item = "Importantlist", Kind = "Sheet"]}[Data]
in
#"Importantlist"

 

Thanks for your help

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Go to Data Source Settings  and clean out the old permissions.

Generally you want to avoid hard coding the file name in the source string. Use the Folder connector instead and then filter down to the file you want.

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

Go to Data Source Settings  and clean out the old permissions.

Generally you want to avoid hard coding the file name in the source string. Use the Folder connector instead and then filter down to the file you want.

Thank you. That was as easy as I thought.

 

I stopped using the SP Folder Connector as I was forced to use a SP with tens of thousands of csv files on it - I'll however follow you advise when not connecting to said SP

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.