Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
User | Count |
---|---|
24 | |
13 | |
12 | |
11 | |
8 |
User | Count |
---|---|
43 | |
26 | |
16 | |
15 | |
12 |