cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frankie70
Post Patron
Post Patron

Format currency

Hi all,

I am stuck with a problem.

I have a HTML Table in my flow with 2 fields with a number.

When sending this table via mail, some users get numbers without any comma (example: 123470) and sometimes the last digit is missing, because its 0.

I would like the format to be like (example: 1,234.70 EUR).

2021-07-19 18_11_13-Edit your flow _ Power Automate.png

But when I try to format the number with an expression it only offers me "List of items" or "value".

2021-07-19 18_18_39-Edit your flow _ Power Automate.png

This is where I am stuck.

How can I format the Price and the Sum so that they are always formatted correctly in the mail?

 

Any help is appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
tom_riha
Super User
Super User

Hello @Frankie70 ,

you can add the dynamic content even if it's not displayed in the list, just type in the value:

item()?['ColumnInternalName']

e.g.
formatNumber(item()?['Price'],...)


[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

View solution in original post

5 REPLIES 5
tom_riha
Super User
Super User

Hello @Frankie70 ,

you can add the dynamic content even if it's not displayed in the list, just type in the value:

item()?['ColumnInternalName']

e.g.
formatNumber(item()?['Price'],...)


[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

Hi @tom_riha 

on my desktop PC everything works fine. But using that flow from my mobile phone it gives me strange value because there thousand separator it’s not in the right place.

 

D5BD4660-4D1C-498E-86D0-53AA5408DC81.jpeg

5320A6BB-1404-4A7E-87CD-4A1AFC7658A6.jpeg

 Any idea, what is going wrong here?

Hello @Frankie70 ,

can you be more specific what's wrong? From the screenshots you shared it looks as I'd expect.



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

Hi @tom_riha 

The numbers come from SharePoint. The laptop should be 1,472.01 EUR and the mobile Phone 588.19 EUR. In SharePoint the prices are correct.

Hello @Frankie70 ,

if the same flow works differently if you start it from a different device then there might be some bug and I'd contact Microsoft. It's a cloud flow, not device flow, the device triggering it shouldn't matter.



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (2,879)