Forum Discussion
her
Helper III
7 years agoHow to Write Mongo Query(Intellishell) in Power BI Using R Script
Hi,
I have more than 3Million Records and mongodb connect via odbc but its performance is very slow,
then i tried connect via R Script its connected below query used:
library("mongolite")
m<- mongo(collection= "users", db = "admin", url = "mongodb://admin:[email protected]:27017", verbose = TRUE)
users<- m$find()
users<-m$find() its working but how to write R Script for getting Count
Thanks and Regards
Herwin
2 Replies
- v-frfei-msft
Community Support
Hi her ,
To be honest, I am not an expert of R, hope the online document can help you.
https://docs.microsoft.com/en-us/power-bi/desktop-r-scripts
- her
Helper III