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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
alainpujol
Helper I
Helper I

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 @alainpujol 

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...

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?

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.

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

Sorry, it's okay.

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

 

I continue

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors