Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Using r to pull data from app.powerbi.com

I've been searching and searching trying to find out whether or not something can be done.

 

There is a Power BI report within my company that I have access to. For reasons to complicated to explain, I need to reproduce some of the visualizations in my own Power BI dashboard.

 

Currently, what I have to do is click on a graph and export the underlying data, which comes as a csv file. I have to do this manually for 3 different plots. I know Power BI can do some web scraping, but I get access issues, if I try to do this using Power BI. I've learned from our IT, that in order for me to do this, I'd have to be named as a co-owner of the site I'm scraping. I'm not sure that can happen.

 

Is there a way I could use R from my end to export the underlying data for me?

 

To be clear--I can manually export the underlying data I need just accessing the site through my browser. I'd like to be able to have either R or Power BI do this for me.

 

Thank you in advance for any help or suggestions!

 

Bruce

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous,

 

Nope, power bi service not support to use r script.(editor functions and coding formula has been disabled on power bi service side)

You can only consider to use existed features to export data.

Export data from visualizations

 

If you mean use r script to get data from power bi, you can refer to below blog to get data from power bi rest api:

How to Access Any RESTful API Using the R Language

 

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous,

 

Nope, power bi service not support to use r script.(editor functions and coding formula has been disabled on power bi service side)

You can only consider to use existed features to export data.

Export data from visualizations

 

If you mean use r script to get data from power bi, you can refer to below blog to get data from power bi rest api:

How to Access Any RESTful API Using the R Language

 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.