Skip to content
Advertisement

Rip 20 million rows from Power Pivot (“Item.data”)

I received a workbook which contains two tables in power-pivot (one around one million rows, another 20 mill rows). I would like to rip this out (as anything really – but let’s say a CSV) so that I can use it in R + PostGreSQL.

I can’t export to an Excel table as there are more than 1 million rows; and copy-pasting the data only works when I select around 200,000 rows.
I tried converting the xlsx into a zip and opening the “item.data” file in notepad++, however it was encrypted.

I put together some VBA which works for around 0.5 mill rows:

Advertisement

Answer

DAX Studio will allow you to query the data model in an Excel workbook and output to various formats, including flat files.

The query you’ll need is just:

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement