web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Repeat "Refresh a Data...
Power Automate
Answered

Repeat "Refresh a Dataset" action until it succeeds

(0) ShareShare
ReportReport
Posted on by 10

Hi everyone,

 

I'm working on an automations in which in every step I need to refresh a Power BI dataset, the problem I'm experiencing is that when my flows is running to or more times simultaneusly, the action "Refresh a Dataset" crashes because another refresh is already running, i tried to use Scope try and catch actions but this solutions only skips the refresh, I do need to refresh and continue with the nexts steps.

 

Is there any option to loop the refresh a dataset action until it is successful?

Categories:
I have the same question (0)
  • Verified answer
    Sundeep_Malik Profile Picture
    6,501 on at

    Hey @Luiggo07 

     

    You can use do until action for this. Not exactly sure it will work or not.

     

    Steps to do:

     

    1) Initialize a boolean variable. Give it a false value.

    Sundeep_Malik_4-1691693910000.png

     

    2) Add a do until function. Set it condition to above variable = true.

    Sundeep_Malik_0-1691693560150.png

     

    3) Inside it add a delay function(Your choice to add this). Keep it 2-5 minutes.

    Sundeep_Malik_5-1691693934770.png

     

    4) Add Refresh dataset action.

    Sundeep_Malik_6-1691693946517.png

     

    5) Then add parallel branches.

    Sundeep_Malik_1-1691693672923.png

     

     -> On left side make the variable true. This will run when the run dataset action succeeds.

    -> On right side make the variable false. This will run when the dataset action fails or timesout. Change its configure run after to the following(You can avoid timed out if it doesnt help):

    Sundeep_Malik_2-1691693742711.png

     

    Follow the above steps and you might succeed in your scenario. This is how the flow looks like:

    Sundeep_Malik_3-1691693817334.png

     

     

    I hope this helps 🙂

     

  • Luiggo07 Profile Picture
    10 on at

    Thank you @Sundeep_Malik this solutions worked as I actually needed!
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 801

#2
Valantis Profile Picture

Valantis 602

#3
Haque Profile Picture

Haque 581

Last 30 days Overall leaderboard