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
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,574)