Hello All,
I would like to ask how to add a dollar sign to an HTML table. I have seen some methods, like formatnumber, on the forum; but, it doesn't work for my flow as my inputs are string. And then I changed it to INT, but it didn't work.
Hope can get some help. Really apprecaiate
Flow:
HTML Table
When use formatnumber, it fails due to string value.
and then use "If empty" to bypass it but it also doesn't work.
Finally, when I converted it to INT, it also doesn't work.
Ok now, it works. Thanks !!
There is syntax error, you have forgotten to close the if formula. Pls use the below expression:
if(empty(item()?['outstanding date']),'',concat(item()?['outstanding date'],'Days'))
If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.
Thanks Manish Solanki,
it works. Can I ask one more quetsion. How can I ask add "days" in the outstanding column.
like 373Days.
I use the "concat', but it shows this, and then I use if(empty(item()?['outstanding date']),'',concat(item()?['outstanding date'],'Days'), it doesn't allow me to use this formula.
The input also contains decimal number, so we need to use float function:
if(empty(item()?['Balance']),'',formatNumber(float(item()?['Balance']),'$#.#'))
If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.
Hello, Manish Solanki
Thanks for the solution. But, it seems it still has an error .
Pls use the below expression for 'Balance' column:
if(empty(item()?['Balance']),'',formatNumber(int(item()?['Balance']),'$#'))
just replace the column name in above expression for other currency columns.
If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.
stampcoin
97
Michael E. Gernaey
72
Super User 2025 Season 1
David_MA
48
Super User 2025 Season 1