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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Error with csv files

Bonjour,
je reçois 50 fichiers csv chaque jour qui sont stockés dans un sharepoint. Chaque fichier comporte 2 colonnes et 146 lignes.
 J'ai créé un flux de données pour lire les fichiers csv et effectuer des opérations sur les données.
J'ai filtré les fichiers dans la requête (je lis 1 fichier par jour).
L'actualisation automatique ne fonctionne pas.
Parfois, la mise à jour est effectuée correctement et de manière aléatoire, je reçois le message ci-dessus.
Ce n'est pas toujours sur le même fichier.

DataSource.Error: SharePoint: La requête a échoué:
https: // / / General / 09 - Fichiers Conso SFTP / ELEC - R + 2 Z2 w4_4_2020 1_05 AM_csv
/ _api / contextinfo
ID de la requête: 98a56514-56e3-4f91-a73f-3b1ec553c670
ID d'activité : a955cf7a-e0ea-4f95-afc5-3d9018174ee9

Je ne trouve pas la raison et comment résoudre ce problème.
Merci de votre aide

8 REPLIES 8
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

Please share some queries with us to check further.

If you connect  to it with dataflow in Power bi service and the data source is on premise, please make sure you add this data source under gateway.

 

Best Regards

Maggie

lbendlin
Super User
Super User

These are rather small files. What was your reasoning for doing this with a dataflow?

 

Are you aware that unless you you use direct query you need to refresh both your dataflow and dataset in order for the data to make it to the app/report?

 

I would recommend using a dataset instead, with the standard sharepoint folder processing .

 

Have a look at this similar thread

https://community.powerbi.com/t5/Service/Loading-a-new-file-on-SPO-without-re-publish/m-p/1251368#M1...

Anonymous
Not applicable

I have used thes lbendlin's solution.
4 times the update correctly ended correctly but the 5th I get the same error

 

Thank's for your help

What's the error message?

Anonymous
Not applicable

Also the same

 

DataSource.Error: SharePoint: La requête a échoué:
https: // / / General / 09 - Fichiers Conso SFTP / ELEC - R + 2 Z2 w4_4_2020 1_05 AM_csv
/ _api / contextinfo
ID de la requête: 98a56514-56e3-4f91-a73f-3b1ec553c670
ID d'activité : a955cf7a-e0ea-4f95-afc5-3d9018174ee9

if you have a Pro license please raise a ticket with Microsoft. The more of us do that the sooner Microsoft will hopefully realize that this is a full blown issue and not just some individuals struggling.

Anonymous
Not applicable

Hello,

Thank for your answer.
I tried your solution.

Get CSV File function generates this error
Expression.Error: File import does not match any export. Did you forget a module reference?

 

And in the query, the CSV column contains ERROR

Anonymous
Not applicable

Sorry, it's okay.

I had forgotten (File) => in the function.

 

I continue

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors