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,
I'm relatively new to this, and have tried searching high and low for answers but i'm not able to find one. Would appreciate any form of help.
I've been trying to connect Power BI to this web API through pagination, and have not been able to do so. I've successfully tested on Postman, and have been able to get the appropriate results.
I've attached some screenshots of the issue, and hope to hear from some experts if I am doing something incorrectly, or need to do any steps prior to this.
Testing on Postman (Info written in the URL, and Authorization using Bearer):
Results of the query on Postman:
Testing on Power BI (Same URL, Authorization is the same bearer code):
Results on Power BI indicating the there are incorrect credentials. I used Anonymous as I am using bearer authorization. Please correct me here if my understanding is incorrect:
Trying again WITHOUT page number:
Successful results on Power BI (Receiving 5 records from page 1):
Please help me out on how one can retrieve the other pages! Also, I have watched the available videos on YouTube.. does not work for me.
Thanks in advance!
I usually use the solution introduced in this blog (Scrape Data from Multiple Web Pages with Power Query) to get data from multiple web pages. You can transform the successful query into a custom function with a page number parameter. Before that I recommend that you edit the URL in Advanced Editor to do a test to check whether you can get data from other pages by only modifying the URL in the successful query.
In below screen, select the base url without page number param in "Select which level to apply these settings to" dropdown box. Keep using Anonymous type.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Hi @v-jingzhang,
Thanks for your reply. Unfortunately, the video does not help as I am stuck at the step before that.
I think before I am able to extract all content, I must be able to query at least one page (other than page 1)..
I just find it strange that I am able to run the URL (with page number) on Postman, but not able to run it on Power BI (It keeps saying they cant authenticate with the credentials provided)...
Please let me know if you have any other insight! Greatly appreciate it.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
21 | |
16 | |
13 | |
12 | |
9 |
User | Count |
---|---|
34 | |
31 | |
20 | |
19 | |
17 |