How to do Pagination on a REST API in Power Query (Part 1)

How to do Pagination on a REST API in Power Query (Part 1)

Curbal

2 года назад

34,547 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Leonel Contreras - T
Leonel Contreras - T - 27.07.2023 05:49

excellent video, knowing how to get information from api is really a great help. This video deserves so much more likes.

Ответить
Victor Thomé
Victor Thomé - 05.05.2023 15:55

How can I use Dataflows for this task? I always get a dynamic consult error when I try this trick.

Ответить
Nelson Eng
Nelson Eng - 05.05.2023 04:19

Wanted to drop a line and say thank you! Can't tell you how much help this was. Thank you again!

Ответить
Olena Dumna
Olena Dumna - 04.03.2023 21:31

thank you for this video! very good explanation !

Ответить
Firefly
Firefly - 09.01.2023 12:01

You are the absolute GOAT

Ответить
Mark
Mark - 05.10.2022 20:27

NOTE as of 10/5/22: This approach only works in PBI desktop and wont work once published to PBI Online. Refer to "dynamic data source" error.

Ответить
Deepanshu K Video
Deepanshu K Video - 27.08.2022 13:21

Hi, I humble request you for getting suggestion how to import data in power bi from Apache druid . there is not direct connectivity option in power bi.

Ответить
Mike S
Mike S - 30.07.2022 00:14

Thanks!

Ответить
Ties Kuipers
Ties Kuipers - 13.07.2022 15:38

Hi there,

I was wondering how you could paginate an API with x pages and where the page ends with Next, mine keeps looping with this method, so I think my example needs another fix right?

Could you help me with that?

Ответить
Mário Henrique Perin Bernardo
Mário Henrique Perin Bernardo - 20.06.2022 14:19

This video is a lifesaver! Thank you so much!!!

Ответить
fajne fajne
fajne fajne - 28.05.2022 21:12

This video is very luxurious. Thank you very much. :-)

Ответить
Luuk Hilde
Luuk Hilde - 05.04.2022 16:39

Hello, I get the message "Some data sources may not be listed because of hand-authored queries" when I open the data source settings. Any idea how I could fix this? I think this appears when I dynammically loop the query based on de column1 list

Ответить
John Young
John Young - 05.03.2022 10:38

Hello
Long time viewer, first time caller, keep up the good work
I have had a problem with this that I have encountered before using API but havent been able to solve, it is the dreaded "Formula.Firewall: Query 'Query2' (step 'Added Custom') references other queries or steps, so it may not directly access a data source. Please rebuild this data combination" error message
There are examples online but none of them use Web.Contents, can you show me how to solve this?

Ответить
Melissa Claassen
Melissa Claassen - 28.01.2022 22:23

Thank you so much! I just got dropped into the deep end of the reporting pool at work, and this was an exceptionally helpful video!

Ответить
Prabha karan
Prabha karan - 12.11.2021 11:41

Thank you so much, wonderful explanation !!

Ответить
Sean Davies
Sean Davies - 30.10.2021 18:33

Thank you so much ! Exactly what I needed !

Ответить
Anwesh Gangula
Anwesh Gangula - 05.10.2021 18:18

waiting for part-2

Ответить
Joe Saienni
Joe Saienni - 05.10.2021 14:26

I realize I'm a couple weeks late but I would love to see part 2!

Ответить
rkartau
rkartau - 01.10.2021 16:44

Hey Loved the video. Making it really easy to learn the stuff. I'd really love to get the second part of the video.
The thing is that my company is usking JIRA and their API does not use this page nr system as you are showing and the table i need to process has 1150 rows, but jira is limiting it to 50 outputs per request. So as a result I think there is tone of people (many jira users) who'd love to get this second part as much as I do.

Ответить
lpan01
lpan01 - 29.09.2021 19:34

I've been wondering how to do this for ages, this is amazing. I've implemented it today for a client and it's worked perfectly - Thanks!

Ответить
Nurul Basar
Nurul Basar - 28.09.2021 05:01

great video,
currently trying to call all available invoice pages from Xero(accounting tool). can't wait for next part.

Ответить
sanoobar khan
sanoobar khan - 17.09.2021 21:15

How can I import data from JIRA server using rest Api.. please help

Ответить
Waldo Fattore
Waldo Fattore - 17.09.2021 10:54

I've had opportunity to do both this and another one where I don't know the amount of pages beforehand, but in both cases, my main issue is that it won't refresh in the service. I'd love a video on that if you have a solution. As always thank you for your amazing content!

Ответить
Jason Yi
Jason Yi - 15.09.2021 02:45

Great video! 2nd video please!

Ответить
DebAce
DebAce - 13.09.2021 16:19

I have an API that provides a next page key and count of records but says nothing about number of pages. How do I treat this?

Ответить
Mahathma Sadineni
Mahathma Sadineni - 11.09.2021 18:22

Hi Madam. I just want to know is it possible in power query to get the data of all duplicates in a single row.

Ответить
Vlad M
Vlad M - 10.09.2021 17:13

This is a nice trick. Ruth, talking about APIs, how about you do a video about using "Function.InvokeAfter" as a mean to work around some API provider's limits on requests per minute? I recently faced that challenge with a geocoding provider, and this is effective method to solve the issue.

Ответить
Eugene O
Eugene O - 10.09.2021 07:05

Or you could use ?per_page=9999999 to obtain all the records in one result :)

Ответить
Hachi Adachi
Hachi Adachi - 09.09.2021 13:15

Voting for sooner Part 2! Thanks, Ruth!

Ответить
Quentin Winisdoerffer
Quentin Winisdoerffer - 08.09.2021 12:09

Hey Ruth, Thank you for the tips. I couldn't try as the API isn't working (maybe because of firewall...) however i was wondering if you could schedule refresh in the Web Service. Often it gets the error that Dynamic queries are not supported (as least in Pro version without premium)

Ответить
Murtaza Ul Hasan
Murtaza Ul Hasan - 08.09.2021 07:51

Great Video!
Can you also do a tutorial to create admin views? (Workspaces, user access, reports, datasets, etc) using REST APIs that refreshes dynamically? (Without having to hardcore your password in the query editor). TIA.

Ответить
Abhijeet Ghosh
Abhijeet Ghosh - 07.09.2021 22:18

Cool .. very good idea 👍👍

Ответить
Emilia G
Emilia G - 07.09.2021 19:48

Hey Ruth, great timing :) because I have problem with that :) And I have a question for You or subscribers: will this solution work on PowerBI Server?

Ответить
Pawel Jaszczynski
Pawel Jaszczynski - 07.09.2021 18:38

great stuff! one question: since we have the dynamic number of pages in query 'country' do we need 'Query1' any more?

Ответить
Sani Garba
Sani Garba - 07.09.2021 18:08

Sooner🙂

Ответить
Alfonso Haskel
Alfonso Haskel - 07.09.2021 17:51

As always, a great video with good content! Waiting for the second video! :)

Ответить
Rashmi Rana
Rashmi Rana - 07.09.2021 16:18

Yes please do part 2

Ответить
antique9999
antique9999 - 07.09.2021 16:17

yes please - part 2 sounds v interesting

Ответить
Mark Goode
Mark Goode - 07.09.2021 16:04

Yes please Ruth. Would love to see that second video. Thanks for sharing :) Great practical topic

Ответить
Celia Alves - Solve & Excel
Celia Alves - Solve & Excel - 07.09.2021 15:26

Love this! Making everything dynamic is exciting!

Ответить
Tú, Yo, Excel y Power BI
Tú, Yo, Excel y Power BI - 07.09.2021 15:09

Buen vídeo!!

Ответить