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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Refresh a power bi dat...
Power Automate
Unanswered

Refresh a power bi dataset action modifies all list items? then fails

(0) ShareShare
ReportReport
Posted on by 158

Hello all, I found what I thought was a a simple way to refresh a Power BI dataset connected to a SharePoint Online list. The steps came from the MS Power BI Blog, there are just two steps, "When an items is created or modified" and "Refresh a dataset Power BI"

. Sounds great except it modified all the list items and then went into a loop of trying to modify items that were already being modified by the workflow. And of course all the modifying led to exceeding the threshold of refreshes.

 

So my question is why is it modifying all the list Items? I thought this action would trigger if a new item was created or if an existing item was edited. If I change the due date on a single list item, I would expect the data source to be refreshed to reflect the change, not to trigger a loop through all list items.

 

Thanks for any help on this

Richard

Categories:
I have the same question (0)
  • rixmcx59 Profile Picture
    158 on at

    When used with the trigger "when an item or a file is modified" the action works exactly as I would expect. The flow ran 1 time and stopped, successfully refreshing the power BI dataset.

     

    Now my question is, what kind of condition can I use to successfully halt the flow from going into a never ending loop when using  "When an items is created or modified". I tried a couple of different approaches and none seem to work

  • rixmcx59 Profile Picture
    158 on at

    I checked for Power Automate and SharePoint Designer flows and nothing there, this new workflow is the only one associated with this list. I thought it's worth mentioning that I had the same issue on another site with another list when using "When an items is created or modified" action, even after adding conditional logic. I ended up just using when an item is created.

    I am going to try changing the trigger to"item modified" and see what happens.

  • ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @rixmcx59 

    Do you have other Flows that run on that list that might be updating the item causing an infinite loop?

     

     

  • rixmcx59 Profile Picture
    158 on at

    Here is a link to the steps, along with screenshots https://powerbi.microsoft.com/en-us/blog/refresh-your-power-bi-dataset-using-microsoft-flow/ 

    It's only to steps with no expressions or complex logic. 

    Here is the error in the first failure "Invalid dataset refresh request. Another refresh request is already executing"

    Here is the failure in the last failure "Invalid dataset refresh request. Number of refresh requests in last 24 hours exceeded limit"

    My question is why did the workflow have a run history with hundreds of runs when I edited only a single item.

  • ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @rixmcx59 

    Can you post a screen shot of your Flow?  That will be a big help to those who would like to assist.

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 211 Most Valuable Professional

#3
trice602 Profile Picture

trice602 198 Super User 2025 Season 2

Last 30 days Overall leaderboard