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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

[DataFormat.Error] loading into data model

In my small Excel file, the pa_2018 query has been loaded into the Data Model.  'pa_2018 removed columns' is a duplicate query with an additional step to remove other columns.  But why can't 'pa_2018 removed columns' be loaded into the Data Model with the following error?  Thanks.

 

[DataFormat.Error] The SELECT statement includes a reserve word or an argument name that is misspelled or missing, or the punctuation is incorrect.

 

 

1 ACCEPTED SOLUTION
v-yingjl
Community Support
Community Support

Hi @Anonymous ,

Noticed that the data source in this report is Access Database, have you filtered any rows in the database before you import them into Power Query?

 

Looks like the query statement has nothing special.. You can also try to use Power BI Desktop to connect to the same source and duplicate the query again to check it again.

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yingjl
Community Support
Community Support

Hi @Anonymous ,

Noticed that the data source in this report is Access Database, have you filtered any rows in the database before you import them into Power Query?

 

Looks like the query statement has nothing special.. You can also try to use Power BI Desktop to connect to the same source and duplicate the query again to check it again.

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

@v-yingjlThe data source is actually a .dbf file, which is imported unmodified into Access.  Since both queries share the same data source, I don't believe that it's causing the DataFormat.Error.  By simply not removing any column (deleting the step that caused the DataFormat.Error), I can continue transforming the query without errors.

PhilipTreacy
Super User
Super User

Hi @Anonymous 

 

I can't open that XLSX, I get an error saying it may be corrupted.

 

Are you loading data from a SQL database?  That is where SELECT is used.  Double check your native query code for errors. 

 

Try deleting the query in error and recreating it.

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

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.

Top Solution Authors