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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
miguelcasi
Helper I
Helper I

Update Program for data extracted from REST API

Good afternoon. I'm working with a report in Power BI, which uses three tables created from a Rest API connection to Power BI through an R script and a table from an Excel file. To update the data (API), clicking on the option "Update now" works for me correctly, but I would like to know if it is possible to create a program update. I have tested everything I have seen online (modification of credentials, on-premises data gateway, ...), but none of these work for me. Thanks a lot.

3 REPLIES 3
V-lianl-msft
Community Support
Community Support

Hi @miguelcasi ,

 

All R data source settings must be set to Public. All other steps in a Power Query Editor query must also be public.

To schedule refresh of your R visuals or dataset, enable scheduled refresh and install a personal gateway on the computer containing the workbook and R.

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@miguelcasi , have you already explored this

https://sqldusty.com/2020/05/20/power-bi-incremental-refresh-with-web-api-data-source/

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Yes I saw it. However, I use an R script to read the 3 tables that I require (they are 3 different URLs), and within each script I extract the Bearer Token. Therefore, it does not fit the example you share.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.