March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi all,
We have successfully set up an API connection in Power BI and loaded data from the current endpoints. However, the API has a limit of 5,000 records. As a response header, the call returns an "x-next-key" which can be used to retrieve the next 5,000 records. The problem is that we response headers are not visible in Power BI.
We have tried several options, such as WebMethod.head() and Odata.Feed(), but none of these methods seem to show the response header needed to load the next 5,000 rows.
We would like to automate this and have been told that this should be possible using a custom connector. Unfortunately, however, we have not yet been able to get the headers into Power BI. Can anyone provide assistance in creating a custom connector in order to get the response header "x-next-key" in?
Hi @Maud ,
please try this: Retrieve header fields like response status from Web.Contents in Power BI and Power Query (thebiccou...
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
20 | |
13 | |
10 | |
9 | |
7 |
User | Count |
---|---|
39 | |
27 | |
16 | |
15 | |
10 |