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 / Send an E-Mail from th...
Power Automate
Unanswered

Send an E-Mail from the account that triggered the flow clicking on a button on Power BI

(0) ShareShare
ReportReport
Posted on by 42

Hello Everybody, 

 

it is probably a very easy thing but I can't manage it by myself. 

 

From a Report on Power BI my Users need to send an pre-formulated E-Mail with some Data from the selection made on Power BI. 

 

I choose the Option "Send mail from a shared mailbox" and without anything is works. 

As soon as I try to add some Power BI values the flow-step is being inserted in a "for each" construct. As far as I understand it expects an array. The point is, there is no array, I only need four different values from the tuple and there is never more than one tuple to be used. 

 

 

RPowerAutomated_1-1687437127781.pngRPowerAutomated_2-1687437169644.png

 

 
 

 

 

 

 

Categories:
I have the same question (0)
  • abowen Profile Picture
    222 on at

    Could you present an example of what you're trying to send in the email? As far as I can tell it's a BI table, so Automate may be wanting to send one email for each row or something silly like that. You may have to index the table or convert it to JSON perhaps. I'm not sure. 

  • RPowerAutomated Profile Picture
    42 on at

    Sure!

     

    The button is on a drill-through page in power bi, so it is already filtered. The power automate visual- fields are lets say: projectID, projectName, projectOwner. In the E-Mail the Subject has the dynamic fields projectID and projectName and in the body theres something like "Dear Sir or Madam, please contact projectOwner and so on.

     

    I actual only need each value once in one mail. 

  • abowen Profile Picture
    222 on at

    You'll likely have to write an expression to pull the data you want from the table to put in the email. That data is stored as JSON so you may need to figure out what the table looks like in that format. For instance, the projectOwner expression might be 

    outputs('Power_BI_table')['body/value'][0]['projectOwner']

    I haven't worked with BI in Automate before so this is likely not the exact structure, just something that you might end up doing. 

     

    Let me know if I can help with anything else! I'll do my best. 

  • RPowerAutomated Profile Picture
    42 on at

    Hey @abowen 

     

    Somehow the very same worked, without adding any data operation. I had to set the flow for the trigger and nothing more

     

    RPowerAutomated_0-1687509988699.png

     

    Thank you for your help though!

  • abowen Profile Picture
    222 on at

    Glad to hear it! 

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 604

#2
Valantis Profile Picture

Valantis 502

#3
Vish WR Profile Picture

Vish WR 417

Last 30 days Overall leaderboard