We are connecting an API as a datasource for PowerBI. We are consuming the record using the below Query,
let
url = "
query = "{""parameters"" : { ""recordsPerBatch"" : 25000 } }",
Source = Json.Document(Web.Contents(url,[Headers = [Authorization="Basic bWFyaWFuaXRoaS5tQGFlaS5jb206V2VsY29tZSMx", #"Content-Type" = "application/json"], Content = Text.ToBinary(query) ] )),
response = Source[response],
batchInfo = response[batchInfo]
in
batchInfo
We are getting 25000 records but the actual API have around 1,00,000 Records.PowerBI throws a information like batch info with the URL,which is shown below,
How to capture this URL automatically in PowerBI to fetch all the 1,00,000 records.Kindly help me to achieve this scenario
Please read about API paging
Handling paging for Power Query connectors - Power Query | Microsoft Docs
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!
User | Count |
---|---|
138 | |
22 | |
21 | |
13 | |
12 |
User | Count |
---|---|
158 | |
37 | |
31 | |
18 | |
18 |