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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have a Power BI report which gets data from a R Script. My R script connects to a SQL server, does data transformations and then returns a data frame. So in essence, can an R script connect to a SQL server from inside Power BI? The library I've been using in R to connect to the SQL server is RODBC.
Solved! Go to Solution.
Yes, you may refer to the post below.
https://community.powerbi.com/t5/Desktop/R-script-fails-to-load-more-than-14999-rows/td-p/16146
Yes, you may refer to the post below.
https://community.powerbi.com/t5/Desktop/R-script-fails-to-load-more-than-14999-rows/td-p/16146
I have a Power BI report and I want to use an R Script as my data source. My R script connects to a SQL server and does data transformations and returns a data frame. Is it possible for Power BI to use my R script. In essence, can Power BI get data from a R script which connects to a SQL server?
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 62 | |
| 54 | |
| 40 | |
| 17 | |
| 15 |
| User | Count |
|---|---|
| 94 | |
| 83 | |
| 33 | |
| 32 | |
| 24 |