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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Calling API in a blank query in Power BI dataflow

Hi Team - We are trying to fetch Ruleset/SoD data from an API in Power Query editor, the access to the API is granted through an Azure SPN. In one call, i can fetch a max of 500 records; whereas the total record count is much more than that. My question is how to call the API multiple times in a loop in power query editor, so that i can eradicate manual effort of calling the API again and again. I am very much new to Power Query and welcome to any sort of guidance and reference with this regard.

 

Thanks,

Dib

2 ACCEPTED SOLUTIONS
mahoneypat
Microsoft Employee
Microsoft Employee

Please see this video with an example of how to do this.

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

 

Regards,

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

v-yingjl
Community Support
Community Support

Hi @Anonymous ,

You can refer this viedo and simliar issue, hopes it could help.

  1. Pagination and DO/WHILE in Power BI / Power Query 
  2. how to create a query that paginates? 

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yingjl
Community Support
Community Support

Hi @Anonymous ,

You can refer this viedo and simliar issue, hopes it could help.

  1. Pagination and DO/WHILE in Power BI / Power Query 
  2. how to create a query that paginates? 

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

mahoneypat
Microsoft Employee
Microsoft Employee

Please see this video with an example of how to do this.

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

 

Regards,

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


Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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