Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
DrewSmith
Helper III
Helper III

Paginating API calls to Hubspot

I'm looking to paginate my calls from Hubspot deals. 

 

I can connect to the api and change the limit etc. to get 100 rows instead of 10. 

 

I've done pagination before where the number of pages was known via list.generate but this appears different. How can I call all the records for deals, and a few other pages? 

1 ACCEPTED SOLUTION

3 REPLIES 3
ReportGuru
Post Patron
Post Patron

Hi @DrewSmith As a workaround, maybe you can use a 3rd party connector, which pulls data directly from the Hubspot API, it can save you a lot of time compared to other options. I've tried windsor.ai, supermetrics and funnel.io. I stayed with windsor because it is much cheaper so just to let you know other options. In case you wonder, to make the connection first search for the Hubspot connector in the data sources list:

 

HUBSPOT-1.png

 

After that, just grant access to your Hubspot account using your credentials, then on preview and destination page you will see a preview of your Hubspot fields:

 

HUBSPOT-2.png

 

There just select the fields you need. Finally, just select PBI as your data destination and finally just copy and paste the url on PBI --> Get Data --> Web --> Paste the url. 

 

SELECT_DESTINATION_NEW.png

Anonymous
Not applicable

Hi @DrewSmith 

You can change to M code to use api to call to Hubspot, and you can refer to the following link.

HubSpot Community - Pagination using Power BI - HubSpot Community

Power BI Pagination API HubSpot - Power Platform Community (microsoft.com)

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

That link got me no further forward. 

This is the solution to the problem. https://community.fabric.microsoft.com/t5/Power-Query/Hubspot-Private-Apps-Powerquery-pagination/m-p...

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors