cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Soundappan
Frequent Visitor

We are connecting an API as a datasource for PowerBI

We are connecting an API as a datasource for PowerBI. We are consuming the record using the below Query,

 

let

    url = "

https://aei-sb0.chainsys.com/apppublisher/rest/dataexchangerestpublisher/dataExchangeJsonExecution/X...",

    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,

 

Soundappan_0-1641992986753.png

 

 

How to capture this URL automatically in PowerBI to fetch all the 1,00,000 records.Kindly help me to achieve this scenario

1 REPLY 1
lbendlin
Super User
Super User

Helpful resources

Announcements
May 23 2022 epsiode 5 without aka link.jpg

The Power BI Community Show

Welcome to the Power BI Community Show! Jeroen ter Heerdt talks about the importance of Data Modeling.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

Power BI Dev Camp Session 22 with aka link 768x460.jpg

Check it out!

Mark your calendars and join us on Thursday, May 26 at 11a PDT for a great session with Ted Pattison!

Power BI Release May 2022 768x460.png

Check it out!

Click here to read more about the May 2022 updates!