Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Philip_TopNotch
New Member

How to format a column with commas, in a html table created from a Power BI data, in power Automate.

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.

Philip_TopNotch_0-1685278414372.png

 I want to format the Potential loss >50M with comma seperators

Philip_TopNotch_1-1685278617746.png

 

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.

Philip_TopNotch_3-1685279024575.png

 

 

Assistance would be highly appreciated.

0 REPLIES 0

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.