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.
Hello, I am trying to make recursive call to REST API using scrollId as the parameter in the url. The loop has to run until there is no more data is returned from the rest endpoint.
Below link/screenshot shows the manual steps and the data returned while connecting to the rest api inside power query window.
https://photos.app.goo.gl/sX4WjAqJfKdjBEux9
Below link/screenshot shows the recurisive rest api call made and the data returned. There are 3 records in total. First api calls returns 2 records, Second api calls returns 1 record. Third api calls returns no records ( Exceptions bucket is empty)
Rest api output in web browser
Request your help in making a recursive call using a loop. Thanks in advance.
NB: Function is used to get the endpoint url & parameters (shown in first screenshot)
Screenshots are often insufficient to understand where you are stuck. Please provide sanitized sample data that fully covers your issue. Paste the data into a table in your post or use one of the file services. If you can, provide a sample conncetion crendentials to the API. Please show the expected outcome.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
100 | |
54 | |
21 | |
12 | |
11 |