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 / table empty receive in...
Power Automate
Answered

table empty receive in mail

(0) ShareShare
ReportReport
Posted on by 49

Hi All, 

 

I've set power automate flow as one of the column with "status". There will be two options, one is 'completed' while another 'null'. 

Every week we will receive summary of the table (screen from sharepoint list) and send if the status still in null while if status 'completed' no email should be received or filter from the list. However, even all the status shown completed, I'm still receiving the table but incomplete as below :

 

Marthini_06_0-1686791245804.png

 

Categories:
  • Manish Solanki Profile Picture
    15,169 Moderator on at

    Hi @Marthini_06 

     

    Since the status column contains only null or completed, so you can filter out the null values using the filter query in 'Get items' action:

    ManishSolanki_0-1686797650544.png

     

    Pass the result of the get items action to the 'Create an HTML table' action to get the html table:

    ManishSolanki_1-1686797787162.png

    You may select the columns which you want display in your html table, for that use array indexer property to get the value i.e. item()?['<fieldname>']

     

    You can further pass the output of create html table 'Send an email' action.

     

    If this helps, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • Marthini_06 Profile Picture
    49 on at

    Hi @ManishSolanki 

     

    Thank you for the reply, 

    For the get items, I have include status eq "null" in the filter query and successfully get the filter summary in table.

    Marthini_06_0-1686806746525.png

    Marthini_06_1-1686806844279.png

    However, if the status completed, I don't want to get the email since all completed but I'm still getting the email but empty row as below.

    Marthini_06_3-1686806944001.png

    My flow as below:

     

    Marthini_06_4-1686806999471.pngMarthini_06_5-1686807023119.png

     

     

     

     

     

  • Verified answer
    Manish Solanki Profile Picture
    15,169 Moderator on at

    Hi @Marthini_06 

     

    To avoid sending blank HTML table, add a 'Condition' action to check the length of 'Get items' result array and move send an email action inside "Yes" part as shown below:

    ManishSolanki_2-1686808609903.png

    Expression used to test the length of Get items result action is:

    length(outputs('Get_items')?['body/value'])

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • Marthini_06 Profile Picture
    49 on at

    Good day @ManishSolanki , 

     

    Apologize for delay reply. 

    I've test the automate email for few days to confirm, and it works. 

    Thank you so much for your help. 

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 298 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard