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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Expression Error while loading query from API Source

So while I am trying to follow a guide to pull my data from an API into a table I was folowing this guide to help me paginate: Power BI/Power Query: API Response Pagination Part 1 - Paginate by Item Count  I keep running acros the error in my screen shot. I am just starting out in Power Query but I can understand after fumblnig around a bit, but pagination for the API has been slightly dificult. 

 

Capture.PNG

 

I've used several different pagination methods, and I know I can fix part of this by chaning the expression pageRange = {1..30} but this is a living data set so I am trying to get it incremented on refresh. 

 

This is the result I am expecting:

 08 result.PNG

 

This is the link to the api documentation: FreshcallerAPI. I don't have any problems pulling the actual data, just paginating it is proving elusive to me. Each time a find a new method to try I get halfway to it working but ultimately it does not function.

1 ACCEPTED SOLUTION
mahoneypat
Microsoft Employee
Microsoft Employee

Please see this video for another way to pull in paginated API data.

Power BI - Tales From The Front - REST APIs - YouTube

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

2 REPLIES 2
mahoneypat
Microsoft Employee
Microsoft Employee

Please see this video for another way to pull in paginated API data.

Power BI - Tales From The Front - REST APIs - YouTube

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Anonymous
Not applicable

Thank you, this helped me get the last piece of the puzzle I was missing. Using your method I did have to make an alteration to my Power BI privacy settings but it worked like a charm. This is going to save me so much time now that I can stop doing weekly CSV dumps. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.