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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
bonjourposte
Helper V
Helper V

Fully Automating a Data Refresh

I'd like to fully automate a data upload/refresh.  This process would have to:

 

1) connect PBI Service to SQL to upload our addresses into a table

2) send an API call to get the lat and long for those addresses

3) then send another API call to get the walkscore of those locations

4) update/refresh our visualizations in the desktop dashboard.  

 

I'd like to do this in Service because the Walkscore API is very slow and I don't want to have to wait ten minutes every time I add a calculated column to fetch the data.  Is this possible?  If so, how does the system know to do one API first and then the next API?  Is this a Power Automate thing, an M code thing, or a schedule refresh thing where I manually time the API calls to be one after the other?

1 ACCEPTED SOLUTION
otravers
Community Champion
Community Champion

You'll probably end up using a combination of these things, for instance you can trigger dataflow then dataset refreshes from Power Automate. The best place to handle the timing of your API calls would be in your M code, typically using Invoke.After:

https://docs.microsoft.com/en-us/powerquery-m/function-invokeafter

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals

View solution in original post

1 REPLY 1
otravers
Community Champion
Community Champion

You'll probably end up using a combination of these things, for instance you can trigger dataflow then dataset refreshes from Power Automate. The best place to handle the timing of your API calls would be in your M code, typically using Invoke.After:

https://docs.microsoft.com/en-us/powerquery-m/function-invokeafter

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Solution Authors
Top Kudoed Authors