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 / Modyfing Power Automat...
Power Automate
Unanswered

Modyfing Power Automate Flow for Multi-File Power BI Report Export

(0) ShareShare
ReportReport
Posted on by 24
111222.pngHi everyone,

I'm currently leveraging Power Automate to export Power BI reports as PDF attachments from SharePoint to email. My workflow functions well for a single file source, but I need to adapt it to accommodate multiple files from SharePoint.

Specifically, I'm working with several CSV files (e.g., excel1.csv, excel2.csv, excel3.csv) stored in SharePoint, all formatted identically. I've successfully configured Power BI to source from this multiple file setup by targeting the folder containing these files. However, I'm encountering difficulties in adjusting the Power Automate flow to generate and attach a PDF report for each of these files, named correspondingly (excel1.pdf, excel2.pdf, excel3.pdf) and filtered by their names.

Could anyone guide me on how to modify my flow to achieve this? Any insights or guidance would be greatly appreciated!

Thank you in advance for your help.

Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,474 Super User 2025 Season 2 on at

    Your left path contains a fallacy. "Refresh a dataset"  is an asynchronous action. It will not wait for the completion of the dataset refresh, nor will it even know if the refresh was successful.  Your flow will instead move on, and export the old version of your data (pre-refresh).

  • hejszyszki Profile Picture
    24 on at

    Hi, thanks for your reply. Is there a workaround for that? Something like 'wait till refresh finishes' ?

  • lbendlin Profile Picture
    8,474 Super User 2025 Season 2 on at

    Yes, I described that in another post here somewhere.  Either by polling for the presence of the end date for the first item in the history, or by using enhanced refresh and request ID.  Requires a custom connector.

     

  • hejszyszki Profile Picture
    24 on at

    Hi @lbendlin, thanks for reply. Could you recall the post you are talking about? Unable to find it

  • Verified answer
    lbendlin Profile Picture
    8,474 Super User 2025 Season 2 on at

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