Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Display Manually Entered Text as Currency

(0) ShareShare
ReportReport
Posted on by 4,682 Super User 2025 Season 1

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
    4,682 Super User 2025 Season 1 on at
    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
    4,682 Super User 2025 Season 1 on at
    Re: Display Manually Entered Text as Currency

    Yes

  • Verified answer
    v-bofeng-msft Profile Picture
    on at
    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 at
    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard