I created a power automate flow in Power BI, that select Power BI data, creates a HTML table, with a CSS style applied, i require assistance on how to format the number column in the html table created to have comma seprators or as currency.
I want to format the Potential loss >50M with comma seperators
The HTML code used for the table style.
<style>
table {
border: 1px solid #1C6EA4;
background-color: #EEEEEE;
width: 100%;
text-align: left;
border-collapse: collapse;
}
table td, table th {
border: 1px solid #AAAAAA;
padding: 3px 2px;
}
table tbody td {
font-size: 13px;
}
table thead {
background: #1C6EA4;
border-bottom: 2px solid #444444;
}
table thead th {
font-size: 15px;
font-weight: bold;
color: #FFFFFF;
border-left: 2px solid #D0E4F5;
}
table thead th:first-child {
border-left: none;
}
</style>
@{body('Create_HTML_table')}
The output mail is shown below. This is the column i want to be formatted with comma seperators or as currency.
Assistance would be highly appreciated.