Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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:root@127.0.0.1:27017", verbose = TRUE)
users<- m$find()
users<-m$find() its working but how to write R Script for getting Count
Thanks and Regards
Herwin
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
| User | Count |
|---|---|
| 51 | |
| 41 | |
| 32 | |
| 15 | |
| 13 |
| User | Count |
|---|---|
| 84 | |
| 72 | |
| 37 | |
| 27 | |
| 24 |