Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 67 | |
| 50 | |
| 37 | |
| 27 | |
| 22 |
| User | Count |
|---|---|
| 133 | |
| 119 | |
| 54 | |
| 37 | |
| 31 |