web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Formatting an amount t...
Power Automate
Answered

Formatting an amount to show in a currency format (i.e. $0.00)

(0) ShareShare
ReportReport
Posted on by 30

Currently the amount from the spreadsheet is displayed in currency format.  I think I need to initialize a variable and re-format that but when I tried to do that is says it needs to be outside of the loop?  I'm new to this so any help would be appreciated!

 

2020-03-25_9-35-42.jpg

Categories:
I have the same question (0)
  • RobElliott Profile Picture
    10,428 Super User 2026 Season 1 on at

    @tiffany initialize a string variable immediately after the Recurrence trigger. Then in the apply to each control you can add an append to string variable and then a compose to format the value in the string variable. Then use the output of that later in your email. But one thing you need to watch is that it looks like you are sending an email to everyone in the spreadsheet for each item every time the flow triggers - unless of course you are using a filter query.

    Rob
    Los Gallardos

     

     

  • tiffany Profile Picture
    30 on at

    So I'm tracking up until the compose.  I've added the initialize variable and added the Append to String Variable.  Do you know the expression I would use for the COmpose?

     

    2020-03-25_10-03-39.jpg

  • efialttes Profile Picture
    14,756 on at

    Hi!

    Please note there is an action block recently released to help with currency conversion.

    https://flow.microsoft.com/es-es/blog/simplified-number-formatting/

    Hope this helps

  • Verified answer
    v-alzhan-msft Profile Picture
    Microsoft Employee on at

    Hi @tiffany ,

     

    As @efialttes  suggested, you could take a try with the Format Number action, and you could refer to screenshot below to create the flow:

    1.png

  • martinav Profile Picture
    3,340 on at

    This is an expensive method if you have a large dataset.  Any expression that can be written to do this?

  • Aarnav Profile Picture
    59 on at
    I used this expression to format a float to currency with 0 decimal places. To have desired numbers after decimal replace 0 with a number e.g. C2 will give 2 numbers after decimal $4.00
     

     

    formatNumber(items('Apply_to_each_2')?['Total'],'C0','en-AU')

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 605

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard