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 Apps
Answered

currency value

(0) ShareShare
ReportReport
Posted on by 202

Hi All,

 

I'm having an input text value as shown below

Sharuk_0-1631545271073.png

now the requirement is like can we able to format the entered number into proper currency format while entering the number value in the text field. if the user is trying to 10000 the value should be automatically update as 10,000 similarly if user is trying to enter some million value it should be updated as 1,000,000 on the onchange property itself. is it kind of possible ? any suggestions or help here ?

Categories:
I have the same question (0)
  • Verified answer
    zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    a2.jpga3.jpg

     

    OnChange of the textbox:

    Set(
    FormattedNum,
    Text(
    Value(TextInput1.Text),
    "[$-en-US]#,###,###"
    )
    );
    Reset(TextInput1);

     

    Default of the textbox:

    FormattedNum

  • Sharuk Profile Picture
    202 on at

    Hi @zmansuri,

    thanks, it worked but I've observed some delay while updating, can we minimize much more time here ?

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    It's on OnChange, So when you enter the number and press tab it will reflect then only.

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Sharuk,

    Have you solved your problem?

    Do you want the format currency to display in real time within the TextInput?

    As @zmansuri mentioned, this OnChange setting will render for a while which is by design.

    As an alternative solution, to solve the delay issue, I think you could add a Timer and set its Visible property as false for the UI look.

    1). Here is something change you should set the properties of the Timer

    OnTimerStart:

    Set(CurrencyF,Text(Value(TextInput18.Text),"[$-en-US]#,###,###"))

    Duration property: 1

    Repeat property: true

    AutoStart property: true

    AutoPause property: true

     

    2). Here is something change you should set the properties of the Text Input

    Default property: CurrencyF

    DelayOutput property: false

     

    Timer.gif

    Hope it could help you at some degree.

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard