Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello, my goal is to get all data from the dataset that is being called from Stripe. I am currently only getting 100 (maximum number of datasets pulled from Stripe). Stripe rest API URL parameter uses starting_after=[id number]. Is there a power query loop or return code that can replace the [id number] in the API URL parameter for every 100th id? My goal is to get all data from the dataset.
Note: Stripe uses bearer token
This is what I have at the moment:
This is the table that id is located in:
base URL: https://api.stripe.com/v1/charges?limit=100&starting_after=ch_1234567910
Tried this pagination power query code from GitHub but did not work.
https://gist.github.com/MarkTiedemann/f667c75cc3d054b9b2bce25ea08bc631
Any help is very appreciated :)!
Solved! Go to Solution.
Please see this video for how to do this.
Power BI - Tales From The Front - REST APIs - YouTube
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Please see this video for how to do this.
Power BI - Tales From The Front - REST APIs - YouTube
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 17 | |
| 9 | |
| 9 | |
| 7 | |
| 7 |