Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago

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

  • Nolock's avatar
    Nolock
    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.