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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
KhushbooPandey
New Member

Issue with checking the status in Get and Post request from Tenable.io

Hi All,

 

I have to do the below steps in Power Query 

 

  1. Issue a POST to the Tenable API to create an export . Export data contains UUID, status, number of pages ( called chunks ) etc.
  2. Wait for the status for the latest UUID to change from "PROCESSING" to "FINISHED".
  3. Get this UUID all pages ( chunks ) data in Power BI.

I am able to achieve 1st and 3rd point. However when I refresh my power query the status is always PROCESSING. is there any way where I can go back and check the status and wait until it is finished?  I can not provide a time duration using Function.InvokeAfter as the time period of completion is not fixed.

Is waiting for external events like API responses to change which means a recursive function to check the status of UUID to get “FINISHED” is possible in Power query?

 

Please share your expertise.

1 REPLY 1
amustafa
Super User
Super User

Perhaps a Power Query function InvokeAfter might work for you. See two links:

Solved: Delay web query until condition met from another w... - Microsoft Fabric Community

Delay API Requests in Power Query (youtube.com)





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors
Top Kudoed Authors