Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

An error occurred in the ‘Sample File (2)’ query. Expression.Error: There weren't enough elements in

I am experiencing the error after I have removed the data and uploaded it again in Data source- An error occurred in the ‘Sample File (2)’ query. Expression.Error: There weren't enough e...
  • mussaenda's avatar
    3 years ago

    Hi Anonymous ,

     

    you need to  go the Sample file of that query and check the steps

  • AmiraBedh's avatar
    3 years ago

    Revisit any steps in the Power Query Editor that access specific rows, columns, or positions. Make sure that they are still applicable to the modified data structure.

    Check the variable you assigned to SampleFile (I assume you need to check the file path there)