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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
Gaurav_Lakhotia
Helper III
Helper III

Incremental API calls using Python script

Hello,

 

I am looking for a solution to a problem while refreshing the data which I have imported using Python connector.

 

I am calling the data from REST API using a python code and used this code directly in Power BI. Now, every time if we refresh the data we are calling all the rows, which is hitting the API limit.
I want to check if DWH is the only option or if it can be brought incrementally in Power BI.
 
Any ideas?
 
Thanks in advance
2 REPLIES 2
mahoneypat
Microsoft Employee
Microsoft Employee

Here is another video you can check out with a good approach for making multiple API calls with power query.

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


amitchandak
Super User
Super User

@Gaurav_Lakhotia , based on what I got from the description, of the two might help you

https://sqldusty.com/2020/05/20/power-bi-incremental-refresh-with-web-api-data-source/

 

or

 

https://blog.crossjoin.co.uk/2018/10/21/calling-the-power-bi-rest-api-from-microsoft-flow-part-2-ref...

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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

October NL Carousel

Fabric Community Update - October 2024

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