cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LostHighway72
Frequent Visitor

Format Numeric field with Thousand Seperator

Is it possible to format a numeric field with the thousand seperator?

 

Example

60000

should be 60,000

1 ACCEPTED SOLUTION

Accepted Solutions

Lets assume you have a Label that you wish to display the value.

Click on the Label, then next to the Fx bar select Text from the property list combo box, and enter the formula above.

 

View solution in original post

6 REPLIES 6
AndyPennell
Power Apps
Power Apps

Yes, using the Text function:

 

Text(60000,"#,#")

 

will display your desired result in locales such as en-US. In some other locales it might display as "60 000" or "60.000".

Thanks for this, how would I use that against bound data from a database field?

 

 

If I understand you correctly:

 

Text(somefieldname,"#,#")

 

where somefieldname is bound to some data.

That would be correct, sorry to be dum, however where do I put this formatting?  Is it  in the format field?

 

Thanks

 

Mark

Lets assume you have a Label that you wish to display the value.

Click on the Label, then next to the Fx bar select Text from the property list combo box, and enter the formula above.

 

How would this be applied to a text/number input rather than a label?

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,481)