简体   繁体   中英

Convert JSON to CSV in/for Azure

I have JSON files from Google Analytics and like to have them in CSV so they can used by Excel or Power BI.

I´ve stored them in Azure Blob Storage and DocumentDB. Is there a possibility to do this transformation in DocumentDB with the Query Explorer or the DocumentDB Data Migration Tool and a stored procedure? Or are there any other suggestions?

I´ve stored them in Azure Blob Storage and DocumentDB. Is there a possibility to do this transformation in DocumentDB with the Query Explorer or the DocumentDB Data Migration Tool and a stored procedure?

As I known, DocumentDB Query Explorer, Store Procedures, User Defined Functions could not transfer JSON to CSV. And the DocumentDB Data Migration Tool could only export your source to a JSON file, you could refer to this tutorial .

I have JSON files from Google Analytics and like to have them in CSV so they can used by Excel or Power BI.

Based on my understanding, you could follow this tutorial to get data from Azure DocumentDB for Power BI. For transfer JSON to CSV, I assumed that you could try to write your transformation logic based on your development language. Or you could leverage Azure Data Factory to move your JSON files from Blob or DocumentDB to Azure Table Storage, then you could use Microsoft Azure Storage Explorer to manage your table and export your records to CSV as follows:

在此处输入图片说明

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM