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 Apps / Format number in the f...
Power Apps
Suggested Answer

Format number in the form with thousand separator

(1) ShareShare
ReportReport
Posted on by 119
Hello,
 
In my app I have a gallery with several items. On the second screen I have a form that shows the item selected from the gallery.
 
In the form there are several text input fields formatted as number. After entering the value in the input field, I would like to have this value formatted with thousands separators.
 
So I inserted this in the On change property of the text input field DataCardValue: 
 
Set(varNumber2,Value(Self.Text))
 
And this into Default property of the text input field DataCardValue:
 
Text(varNumber2, "#,#")
 
This works only partially, because the problem begins when I select another item from the gallery - the values entered for the previous item remain in the fields and if I do not change them everytime I edit the item, I would have all the values for all the items the same.
 
 
Could you please advise how to change the formulas so it shows values for each item correctly and formatted with thousand separators?
 
 
Thank you very much in advance.
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,968 Moderator on at
    Hi
     
    If you are using the Default you should do this
     
    Default = Text(Value(VariableOrOtherControlOrIncomingFieldOrProperty), "[$-en-US],$#,###.00")
     

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard