Oct 02 2018 03:49 PM - edited Oct 02 2018 03:51 PM
When I use the "Export in Excel" option from a SharePoint library, this creates a query file with the iqy extension. This can be saved as an odc connection for future refreshes, but either way I'd rather handle everything via Power Query rather than mix PQ with "old school" data connections.
The Excel table built via the iqy file or resulting odc connection (through Data > Existing Connections) includes extra columns that we added to the library
However using PQ to retrieve a SharePoint folder only returns default columns:
I also had a look at results returned by the SharePoint Lists and Odata feed connectors, and they return way more than what I need (and I'm not sure they have what I do need, I'd rather mess around with these if I don't have to).
Is there a way to get the same results via Power Query that you get from "Export in Excel" as detailed above? Any help appreciated.
This is with Excel 2016 (up-to-date O365 ProPlus monthly release) and SharePoint Online. I haven't tried from PBI Desktop though I'd expect the same behavior.
Apr 15 2021 09:12 AM
Hi @Olivier Travers ,
I had the same use case. My workaround was:
This gave me exactly what I needed. Hopefully it will help you too.