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 / Getting data from an e...
Power Automate
Unanswered

Getting data from an excell file after update row senteces

(0) ShareShare
ReportReport
Posted on by 4

Hi,


I am working on a flow that extracts data from a Power Bi dataset and fills an Excel tempalte file with statements of the "update row" type. Up to this point everything works fine. When I open the excel file the new data seems to be loaded into the tables.
The excel template also has a graph that depends on the updated tables and the graph can also be displayed correctly.
The problem comes when I try to execute a "run script" statement on Excel to create a PNG image that contains the graph (as explained by the youtuber Excell Off The Grid" in his video "Email or save Excel images with Power Automate | Excel Off The Grid. The PNG image created corresponds to the data before doing the "update row" sentences.


How can I force a data refresh before using "run script"?

 

Thanks, in advance.

Categories:
I have the same question (0)
  • Verified answer
    ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @jomarte 

     

    Using "Delay" action, pls pause the flow execution for 10 mins after "Update a row" action to wait for pushing the updates in the excel file.

    ManishSolanki_0-1694419891323.png

    After delay action you can execute the office script.

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • jomarte Profile Picture
    4 on at

    Thankyo very much Manish for your response.

     

    "Delay" action solves de problem.

     

    In my case, I have to process several files in an "apply each" loop, which means having to save several variables, etc.
    Instead I have chosen to make two separate flows. In one I create the new Excel tables and in another I generate the images.

    That's how it works perfectly.

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard