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

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
    Manish Solanki Profile Picture
    15,167 Moderator 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

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 552

#2
Valantis Profile Picture

Valantis 388

#3
11manish Profile Picture

11manish 375

Last 30 days Overall leaderboard