Data Export from PowerBI service and upload to Azure blob

Hello All,

I have a requirement to automate a PowerBI summarized data export (including the measures) and upload it to Azure blob. For that I was using PowerBI R visual so that I can export what I need. I was able to the data with json format. But I have a difficulty in uploading the json file to Azure blob storage with shared access signature(SAS). Since I'm new to R, I need some help any idea on how to use the Azure blob storage end point using curl /Rcurl library? I am thinking SAS authentication and here is my sample code

library(readr)
library(jsonlite)
library(curl)
x<-toJSON(dataset,pretty=TRUE)
json <- jsonlite::toJSON(iris, pretty=TRUE, auto_unbox=TRUE)
cat(x)

Upload to Azure Blob Storage with POST/PUT curl function

plot(dataset)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.