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

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.

Reply
Anonymous
Not applicable

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors