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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Dhayorr
Frequent Visitor

Edit Advanced Query Editor from Desktop?

Am pulling data from an excel sheet, so I added some lines in the Advanced Editor and the below error keeps popping up when i try to apply changes.

 

Expression.Error: There weren't enough elements in the enumeration to complete the operation.
Details:
Table

1 ACCEPTED SOLUTION

I later found the reason for the error message. A column name i was referring to wasn't in the particular xls file i was using, the reason for the error i was receiving. 

 

Thanks

View solution in original post

3 REPLIES 3
ntaylo06
Resolver II
Resolver II

You'll have to give more information. What were you trying to do? 

I previously had the first 4 lines for the report and report worked perfectly. I then added the lines as shown below but on applying it, it showed the error I earlier reported. Checked everything i can and it still keep throwing that error. 

 

Untitled.png

I later found the reason for the error message. A column name i was referring to wasn't in the particular xls file i was using, the reason for the error i was receiving. 

 

Thanks

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.