Hi,
im buliding a powerapp that eventually need to send a mail, i used the method suggested in this article in order to produce the formated mail as html and send it.
in my mauil im sending a table with status field i want the status to have diffrent background collor according to the value: good: green, moderate: yellow, bad: red.
i tried diffrnet combinations of the below formula but didnt manage,any ideas what would be the syntax for that?
<td width=104 colspan=2 valign=top style='width:78.0pt;border-top:none;border-left:none;border-bottom:solid;background ="""&If(Status="Good","#00B050", If(Status="Moderate"," yellow", If(Status="Bad"," red ")&""">" windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt'><p class=MsoNormal>"& Status.Value &"<o:p></o:p></p></td>
thanks,
Eyal