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 email if UBI repo...
Power Automate
Unanswered

Send email if UBI report has results (Excel file)

(1) ShareShare
ReportReport
Posted on by 3
I am trying to get Power Automate to send an email if a UBI report (error report) has any results. 
 
For example: there is a report built to let us know if a certain field is blank. Normally the report is empty (meaning output file has only header and no subsequent lines). Therefore, there should be an email sent when the report contains at least one line (not including the header). 
 
Previous in OBI there was a default condition: "ConditionROWCOUNT('ReportName') > 0  
However in Power Automate there is no "RowCount" as a condition. 
 
I have tried using "Length" but this gives me an error message: The error indicates that the 'length' function is receiving a null value instead of an array or string. This issue arises because the flow is trying to access the 'value' parameter from the output of the 'Move file' operation, which may not exist or is returning null. Did you check if the 'Move file' operation is successfully returning a valid output, particularly the 'body' and 'value' parameters?
 
Length formula:  length(outputs('Move_file')?['body/value'])
(move file is in reference to the previous step in the flow)
 
I have also tried "Empty":  empty(body('Export_To_File_for_Paginated_Reports'))
 
I have also tried using the output file size (as when there are results the file has more rows and is therefore larger in size) but this is so far been unreliable. 
 
What is the best/simplest formula that Power Automate can check if there is at least 1 row (not including the header)?  
Categories:

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 275 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 235

#3
David_MA Profile Picture

David_MA 178 Super User 2026 Season 2

Last 30 days Overall leaderboard