I'm working on a flow that sends an email with an HTML table in the body of the email. The flow works with the exception of the number formatting of the table contents. It's set up by running the "Run a query against a dataset" action, where I pull the contents of a table from a dataset in Power BI. I then create the HTML table using First Table Rows value of that output, and use css formatting to format it into an excel style grid.
This is the output
| Value1 % |
Value2 |
Value3 |
Value4 |
Value5 |
Value6 |
Value7 % |
| 0.130416962 |
1087 |
1679578214 |
67805 |
176.7148114 |
192089 |
0.768476209 |
And this is the desired output
| Value1 % |
Value2 |
Value3 |
Value4 |
Value5 |
Value6 |
Value7 % |
| 13% |
$1,087 |
$1,679,578,214 |
$67,805 |
$177 |
$192,089 |
77% |
I've tried using the formatnumber function and other actions to try to format the numbers properly but all fail, usually due to an error that it can't find the field I'm calling.
How am I able to format? Here is my flow currently: