Hello,
I'm using an onclick function in powerapps that sends an email and within the body filters an html table. When I have data it works great, but what I'm looking to achieve if there is no data can I input a simple message to replace header row with a no rows? I've playing around with different way based on forms like isBlank or NoDataText with no luck in the html table. Simple example below. Thx!
"<table width='500' border='1' cellpadding='1' style=font-size:10px style='border:1px solid black; border-collapse:collapse'>" &
"<tr style='background-color:#efefef'>
<th>Item</th> <th> Adjusted Cost </th><th> Remarks </th>
</tr>
<tr>" &
Concat(
Filter(
'Cost Report', Item ; 'Remarks') ,
"<td>" & Item & " </td>
<td>" & 'Adjusted Cost' & " </td>
<td>" & 'Remarks' & " </td>","</tr><tr>") &
"</table>"