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

Notifications

Announcements

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,433 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard