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 / Adding or Format Date/...
Power Automate
Unanswered

Adding or Format Date/Time of when the Power BI dataset was last refresh in a email

(0) ShareShare
ReportReport
Posted on by 68

I built a flow to query a power bi dataset to create a HTML and CSV file to be emailed once a month to monitor a error.  In the email I would like to add the date/Time the dataset was refreshed.  I am new to power automate so I did not know how to display it as a field so I created a table then added the field from the table to the email.   However, the format is not how I wanted it listed (see last picture of email).  Can someone provide help on either the format, steps that need to be fixed, or link to a video?  

 

  1. Run Query in Power BI Dataset

query.png

2.Select the query results

Select Query Date_Time Refresh.png

3. Format query results as table (only because I didn't know how to add it to the email as a feild)

Create Table.png

4. Add the field from the query results table

Email.png

 

Results is not in the format I want.

2024-05-08 14_19_00-YOTC Change Monitoring Report 05_08_2024 - Message (HTML).png

Categories:
I have the same question (0)
  • Verified answer
    v-yueyun-msft Profile Picture
    on at

    Hi, @KONeill102399 

    If you want to get the DateTime from  your "Select Date Refresh Query" action, you can try to use this code:
    outputs('Select_Date_Time_Refresh_Query')?[0]?['[Last Refresh]']

     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

  • KONeill102399 Profile Picture
    68 on at

    Thank you.  That worked perfect.

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

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard