Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
14 | |
13 | |
12 | |
12 | |
12 |