Bird
0
0

You want to optimize refresh performance when connecting to a REST API that returns paged JSON data. What is the best practice?

hard📝 Scenario Q9 of 15
Power BI - Getting Data
You want to optimize refresh performance when connecting to a REST API that returns paged JSON data. What is the best practice?
AUse recursive Power Query functions to fetch all pages before loading data
BLoad only the first page and ignore the rest
CUse OData.Feed instead of Web.Contents for paging
DManually copy JSON data into Excel and import
Step-by-Step Solution
Solution:
  1. Step 1: Understand paged REST API data

    Many REST APIs return data in pages; to get all data, multiple calls are needed.
  2. Step 2: Use recursive Power Query to fetch all pages

    Recursive functions can call the API repeatedly until all pages are retrieved, improving refresh completeness and performance.
  3. Final Answer:

    Use recursive Power Query functions to fetch all pages before loading data -> Option A
  4. Quick Check:

    Recursive calls handle paging efficiently [OK]
Quick Trick: Use recursion in Power Query to handle API paging [OK]
Common Mistakes:
  • Loading only first page causes incomplete data
  • Trying OData.Feed for REST API paging
  • Manual data copy is inefficient and error-prone

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Power BI Quizzes