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
Anonymous
Not applicable

Expression Error in the sample file query

Hi,

 

My query returns this after previously:

 

An error occurred in the ‘Sample File’ query. Expression.Error: There weren't enough elements in the enumeration to complete the operation.
Details:
Table

 

The query fetches 2 csv files from a folder. But now suddenly this appears. How to fix this?

 

Thanks!

1 REPLY 1
Nolock
Resident Rockstar
Resident Rockstar

Hi @Anonymous,

please check that all column names are unique. It looks like you have at least one column name twice in your file.

If it isn't your case, please post a sample of your data and your Power Query query.

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