Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi all
I am having an issue when combining multiple Excel files (stored in SharePoint online) in a Dataflow (or in PowerQuery). Annoyingly, the preview values of my transformation steps are fine however when I refresh the complete dataset I get the error:
"DataFormat.Error: 'x' is an undeclared prefix. Line 2, position 1344."
I assume this will be an problem with one of the Excel files however I am unable to determine which file has the issue (adding a 'keep errors' step doesn't help). Any guidance to either find or mitigate the issue will be very gratefully received.
Rem
If you don't have a lot of excel files, just remove one at a time and refresh each time to see which one stops causing the error.
If you have a lot, remove half, then refresh. then remove half again, refresh, etc. Sometimes it is trial and error to get the issue to pop up.
You could also try sorting the data in PQ but if it is a lot of records and the error is in the middle of your sort, it won't help much.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI Reporting