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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors