Skip to main content

Notifications

Community site session details

Community site session details

Session Id : w5Eb/zY0YFJ+lmsUr1RpZ2
Power Automate - Building Flows
Unanswered

Power Automate - Auto Export Power BI Report table to CVS (Recurrence Schedule as a Trigger Action)

Like (0) ShareShare
ReportReport
Posted on 17 Aug 2023 15:43:58 by

How would you go about this process?  

 

I have outlined my approach below, as my current challenge is making the output dynamic. At the moment it is only working if the report is static ( remains unchanged) 

 

Project Requirement : (Iive data source)

The project aims to create an automated solution for exporting a Power BI report table to CSV format and then sending
this CSV output via email to a designated recipient. Notably, the users who will be receiving the CSV output do not possess direct access to Power BI.
Furthermore, it's essential to consider that the data presented in the Power BI report table is influenced by a slicer filter.
Thus, any modifications made to the slicer filter by the user should result in corresponding changes within the automated CSV output. For instance,
if a user specifies a particular date range in the report (e.g., Start date: 09/02/2020, End date: 08/03/2022), the data visible in the Power BI table should accurately match the data contained within the CSV output generated by the automation process.

 

My Current Flow: 
The current workflow unfolds in the following sequence

1. A recurrence pattern acts as the triggering action.
2. Run a query against a Power BI dataset.
3. A CSV table is generated based on the results of the query.
4. (Optional) A file can be created on OneDrive.
5. An email is sent using Outlook (version 2).

Recurrence Output.PNG
Within the step "Run a Query Against a Dataset," it's essential to note that the DAX query extracted from the "performance analyzer" remains static. This implies that any alterations made to the report after its entry into the Power Automate workflow will not be mirrored in the DAX query. Consequently, the CSV output produced will not be in sync with the report's changes, especially if they result from filter adjustments.

 

Let me know your approach to this Thank you. 

  • lbendlin Profile Picture
    7,794 Super User 2025 Season 1 on 16 Oct 2023 at 17:49:10
    Re: Power Automate - Auto Export Power BI Report table to CVS (Recurrence Schedule as a Trigger Action)

    Are the last two actions still inside the "Apply to each"  loop?

  • Jarhead_ Profile Picture
    2 on 16 Oct 2023 at 16:06:05
    Re: Power Automate - Auto Export Power BI Report table to CVS (Recurrence Schedule as a Trigger Action)

    Hello,

     

    Could anyone help me? 

     

    I just create my flow, but I'm getting more than 300 different emails ... 

     

    Jarhead__0-1697472308729.png

     

    Jarhead__1-1697472343419.png

    Jarhead__2-1697472351823.png

     

     

    This is my flow, anyone can help me ???

     

     

     

  • lbendlin Profile Picture
    7,794 Super User 2025 Season 1 on 22 Aug 2023 at 19:15:55
    Re: Power Automate - Auto Export Power BI Report table to CVS (Recurrence Schedule as a Trigger Action)

    "I want a fully automated process that accepts user input" ...

     

    Physically impossible.

  • Community Power Platform Member Profile Picture
    on 22 Aug 2023 at 18:00:47
    Re: Power Automate - Auto Export Power BI Report table to CVS (Recurrence Schedule as a Trigger Action)

    Yes, you are right. I was able to get the flow running using the button trigger. However, the stakeholder requirements prefer  an automation that doesn't include any buttons. 

  • lbendlin Profile Picture
    7,794 Super User 2025 Season 1 on 22 Aug 2023 at 17:38:08
    Re: Power Automate - Auto Export Power BI Report table to CVS (Recurrence Schedule as a Trigger Action)

    Instead of a recurrence trigger you can experiment with a Power Automate visual (like a button) in Power BI. That allows you to transfer the prefiltered data from Power BI to your flow.

  • Community Power Platform Member Profile Picture
    on 22 Aug 2023 at 15:41:30
    Re: Power Automate - Auto Export Power BI Report table to CVS (Recurrence Schedule as a Trigger Action)

    How would I about that process? Do you have any example? 

  • lbendlin Profile Picture
    7,794 Super User 2025 Season 1 on 19 Aug 2023 at 00:09:44
    Re: Power Automate - Auto Export Power BI Report table to CVS (Recurrence Schedule as a Trigger Action)

    Make your DAX dynamic - either by collecting user input and modifying the DAX, or by using a dynamic query in the first place.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,658 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard