Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

undefined

(1) ShareShare
ReportReport
Posted on by 18

Hi

 

I have trying to export power bi file to .png format and sending it in mail body in recurrence mode. More specifically I need to send the specific visual as image in email body however if someone can help in sending at least full file by email that would also be of great help

  • AGYG Profile Picture
    18 on at
    Re: undefined

    I get the attached error while sending the picture from onedrive. Similar one i was getting when i tried for power BI file also.

  • trice602 Profile Picture
    13,760 Super User 2025 Season 1 on at
    Re: undefined

    Hi @AGYG ,

     

    Yes, this is the easy route.  Please mark as a solution so others can find this too!  This is a FAQ.

     

     

  • AGYG Profile Picture
    18 on at
    Re: undefined

    Hi @trice602 

     

    Thanks. This seems easy solution. Want to know your view of export to file from power bi action. So when I need to send the whole bi file as .png this may be the easier option. 

  • Verified answer
    trice602 Profile Picture
    13,760 Super User 2025 Season 1 on at
    Re: undefined

    Hi @AGYG ,

     

    There are two options to send inline images with a send email (V2) action, both tested and work in my test flow.  The format is slightly different with each storage location.

     

    trice602_0-1697598460659.png

     

     

    On the left side (OneDrive)

     

    The compose is:

     

    dataUri(body('Get_file_content_using_path_2'))
     
    And then notice how this is formatted in the email body.
     
    On the right side (SharePoint)
     
    The compose is:
     
    @{outputs('Get_file_content_using_path')?['body']['$content']}
     
    And then notice how this is formatted in the email body.
     
    trice602_1-1697598675402.png

     

     

    ----------------------

     

    To take a screenshot with Power Automate Desktop, you can call this from a cloud flow using Desktop flow action in attended or unattended flow types.  In either case, you would go to the Power BI dashboard URL, take a picture, save it, then return to your cloud flow and complete the email.

     

     

  • AGYG Profile Picture
    18 on at
    Re: undefined

    Hi @trice602 

     

    Thanks for prompt help. Please help in sharing the screenshot for sending the saved image in email body rather then attachment by email. 

     

    And doni need to trigger it from PAD or can I set on recurrence 

  • trice602 Profile Picture
    13,760 Super User 2025 Season 1 on at
    Re: undefined

    Hi @AGYG ,

     

    Here's the easy route:  you can use Power Automate Desktop and take a picture of the entire desktop (assumes you have the dashboard up in your browser) and then save that image to OneDrive or SharePoint, then email it.

     

    Another option is to take a picture of a webpage, same thing.  In both options, you can even focus on the visual you want (not the entire dashboard), and then take your picture, save, and email.  This does work great.

     

    trice602_0-1697596251425.png

     

     

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,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow