Forum Discussion

DavFount90's avatar
DavFount90
Regular Visitor
6 years ago
Solved

Trouble with Mongo Document that has an Array

Here is my Query   let Source = R.Execute("library(mongolite)#(lf)m3 <- mongo(collection = ""CAD"", url = ""mongodb://:@/?authSource=admin"")#(lf)cad<-m3$find(query = ""{}"")"), cad1 = Sou...
  • v-yuta-msft's avatar
    6 years ago

    DavFount90 ,

     

    I would suggest you connect to Mongo DB using ODBC connector and then using R script in power query to do data transform. About how to use ODBC connector, you may refer to doc below:

    https://docs.mongodb.com/bi-connector/master/connect/powerbi/

     

    Community Support Team _ Jimmy Tao

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.