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

Community site session details

Session Id : WCEVx44r2P2T6RMoFK99kR
Power Apps - Building Power Apps
Answered

Display Manually Entered Text as Currency

Like (0) ShareShare
ReportReport
Posted on 26 Mar 2024 02:32:34 by 5,106 Super User 2025 Season 2

I have TextInput1, in which I would like the manually entered content to appear as US currency.

The field is a number format is Power Apps and currency in SharePoint list.

I am attempting the following formula, but with no success.

 

Is this possible? What am I missing?
     Text(Value(Self.Text),"[$-en-US]$###,###")
     

Phineas_0-1711420250335.png

 

Categories:
  • Phineas Profile Picture
    5,106 Super User 2025 Season 2 on 26 Mar 2024 at 15:17:48
    Re: Display Manually Entered Text as Currency

    I've got the following working, kind of.

    Two issues -
         1. The is a gallery, so there may be default data. How do I add 'ThisItem.Currency' to the formula so that it
             incorporates any data being pulled into the gallery field?

         2. The test amount should show as $123,456.00. How do I get the commas and decimals to reflect -
                 $000,000.00 (hundreds of thousands with two space decimal point for cents?

    Current formula -
         If(IsMatch(Self.Text,"\d*"),Set(TemValue,Text(Value(Self.Text),"[$-en-US]$###,###"));Reset(Self))

    Phineas_0-1711466187334.png

     

  • Phineas Profile Picture
    5,106 Super User 2025 Season 2 on 26 Mar 2024 at 04:31:34
    Re: Display Manually Entered Text as Currency

    Yes

  • Verified answer
    v-bofeng-msft Profile Picture
    on 26 Mar 2024 at 02:39:53
    Re: Display Manually Entered Text as Currency

    Hi @Phineas ,

     

    Please try:

    1\Set it's OnChange property to:

    If(IsMatch(Self.Text,"\d*"),Set(TemValue,Text(Value(Self.Text),"[$-en-US]$###,###"));Reset(Self))

    2\Set it's Default property to:

    TemValue

     

    Best Regards,

    Bof

  • AARON_C Profile Picture
    2,233 Most Valuable Professional on 26 Mar 2024 at 02:36:20
    Re: Display Manually Entered Text as Currency

    Hi @Phineas,

     

    You are trying to show the number value entered in the TextInput control as Text with the format of US currency?

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete