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

pass a variable from a PowerBI dashboard to an R script

So I use R to run some queries, the R script gets the data from an API endpoint that I write the query with custom filters and parameters. However, my tasks are getting repetitive and almost the same with minor changes each time. I was hoping that PowerBI desktop could enable me, to write my R script with 2 variables that are defined by the end user. 

 

So, I want the end user to enter 2 variables and dates and area code; then I want those entries to trigger my R script and take those variables and make the API call. Get the data and display it on the dashboard. 

is this even possible?       

1 REPLY 1
Anonymous
Not applicable

I guess that is not possible! So I am looking into power apps at the moment to see if I can archive this goal

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.