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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Web Auto refresh for data connected to Web link with parameters

I know there are lot of solutions regarding this but I have been banging my head against the wall but unable to convert this json into a format that can be used for auto refresh. 
Can someone please help me out? 

Source = Json.Document(Web.Contents("https://api.xxx.com/v1/objects/object_21/records?page="&Page&"&rows_per_page="&AmountOfRecords&"", [Headers=[#"X-xxxx-Application-ID"="61c2c3c4cd8888xxxx", #"X-xxxx-REST-API-Key"="xxxxx-xxxxx-xxxx-xxb-xxxx9"]]))

I saw a video where the link was segregated into different paths like:

eshanpacheriwal_0-1654181807787.png



I tried this, but no sucess. Does anyone has an idea how to tranform the link to allow it to refresh on itis own. 

1 REPLY 1
lbendlin
Super User
Super User

"convert this json into a format that can be used for auto refresh"

 

Do you mean this Power Query code?  You are missing the RelativePath component.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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