Forum Discussion
'Data could not be retrieved from the database' error when using power query to get data from xlsx
Hi there,
What happens if you remove the "unpivot" step? Does it work?
In any case, would you mind sharing the workbook, please? Just make sure it doens't contain any sensitive or confidential information.
Guy
- Ecel Team
It was working before the 'Unpivot' step and can be load into tables.
I managed to find out by repeating the same process in Power BI that it was due to calculation errors in the original xls files. Power BI gives a more prescriptive warnings than Power Query 2010.
Thanks for your reply.
- Guy HunkinJul 27, 2017
Microsoft
Thanks for letting me know, Qiong.- alexcabramsonOct 07, 2020Copper Contributor
Hi Guy,
I've just hit this same problem where I get the "Data could not be retrieved from the database" error when including an unpivot in my power query. Do you know if this flaw has been fixed in the several years since Qiong brought it up?
Thanks,
Alex
- Guy HunkinOct 15, 2020
Microsoft
alexcabramson , it should have been fixed. I encourage you to update to the latest version and try if it works.
Guy
- Excel Team