SOLVED

Reading .csv stored in Azure Blob Storage from Excel

Visitor

I've been able to create a storage account, then a container, than a blob storing a .csv file. I've successfully been able to download the .csv file from Azure itself and using Python as well via the azure-storage package. This is to confirm that external sources (i.e. Python) are able to import/export blobs. The .csv stores a numeric table with header in the first row.

 

The second step is to import the same data in Excel 2016. The steps that I'm following from Excel are:

New Query --> From Azure --> From Microsoft Azure Blob Storage --> provide <Account_name> and <Key> --> Navigator. From here, I can see that dataset.csv file in the container.image.png

 However, clicking the button "load" in the Navigator only allows to download the table in the previous picture in excel, and not the data stored in those files.

 

image.png

 

 I've explored the add ons "Design" and "Query" to look for a button to download the data stored in those blobs but unsuccessfully.

 

Question: how to import the numberic data stored in one of the .csv in Azure Blobs listed in the Wizard?

7 Replies
best response confirmed by Federico Fontana (Visitor)
Solution

Hi,  don't load the connection, edit the connection

 

edit.jpg

then in the Power Query screen, filter the 'Name' column to get the files you want, then click on the column 'Content' to actual get the data.

 

content.jpg

 

Sorry my example sheets have only one column, but you can use the Power Query features to transform the files.

Hi,
I've had the same issue with excel 365. The only difference is that when i attempt to do as above, and use the power query feature it comes up with an error as follows

Unable to connect

We encountered an error while trying to connect.
Details: "We found extra characters at the end of the JSON input."

Can you help me with this ?
Des
Hi Sergei,
Unfortunately that appears way too difficult for my abilities, I don't think it will help me
Thanks

Des

@DesOwens 

Sorry, I personally have no practical experience with that.

Thanks Sergei,
I have managed to download what I need as a JSON file and then use an online converter to change to a csv file which I can work with !!
So I'm happy enough, pity the Query would not work for me.
Thanks for your input

Des

@DesOwens 

Great to know you sorted this out, thank you for the update