Jul 04 2017
03:53 AM
- last edited on
Jul 12 2019
10:48 AM
by
TechCommunityAP
Jul 04 2017
03:53 AM
- last edited on
Jul 12 2019
10:48 AM
by
TechCommunityAP
I was using 'Power Query' addin in Excel 2010 to get data from an old .xlsx file. It was working perfectly fine and loading data into table in current workbook until I 'Unpivoted' some columns. I don't understand why 'Unpivot Other Columns' operations can stop data load and throw me an 'Data could not be retrieved from the database' error.
Jul 25 2017 06:36 AM
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
Jul 26 2017 04:17 PM
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.
Jul 27 2017 12:34 AM
Oct 06 2020 05:23 PM
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
Oct 15 2020 05:08 AM
@alexcabramson , it should have been fixed. I encourage you to update to the latest version and try if it works.
Guy
- Excel Team