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 / Automating a manually ...
Power Automate
Suggested Answer

Automating a manually triggered flow - Power BI report export to Excel

(0) ShareShare
ReportReport
Posted on by
I have a simple Power BI report to extract Labor head count from our SQL database.  I created a button that uses Power Automate to export the result dataset to an excel file using the add row to excel template.  It works very well.  
 
 
I would like to run the same export on a routine basis, but without the manual trigger.  I have not been successful in creating a flow to do this.
 
I would like to use a scheduled trigger to every week take the result dataset from the report, that has already refreshed, and export it the same way it does manually.
 
I have not found the way to do this yet, and I have tried many things, only to get lost "down the rabbit holes"...
 
Is there a "go into the report and click the button" action?
 
Is there a different solution?
 
John
Categories:
I have the same question (0)
  • Suggested answer
    NsL Coder Profile Picture
    475 Super User 2025 Season 2 on at
    You can do a scheduled trigger, then query power bi to get the data you want and save to excel
     
    If you don't know how to write a query, you can use tool in power bi desktop to get the query:
    go to the tab that has the report you want to export, click on Start recording > Refresh visuals. Then find the "Table" expand it and click Copy Query
     
     
  • lbendlin Profile Picture
    8,479 Super User 2025 Season 2 on at
    Apply to Each is very inefficient. Use the Batch API to insert rows in bulk.
  • NsL Coder Profile Picture
    475 Super User 2025 Season 2 on at
    For low coder, using the apply to each and add one row at a time make sense. This make sense also when the amount of data is not overwhelming, ~50 a run is within reason.
     
    However, anymore, then writing all records to excel in ONE fell scoop is more time efficient, and there are a few ways to do this:
    1. Excel Script, this can intake all the data as JSON and then more efficiently write the data into excel
    2. Graph API, this allows you to provide a 2-dimenstional array that is all the rows and columns of data to write into excel
    not aware of this "Batch API" unless we are talking about the same thing (Graph API)
    https://learn.microsoft.com/en-us/graph/excel-write-to-workbook

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard