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

Number Formatting -- Dollar signs, commas and decimal points

I am using PowerApps to create the form for a SharePoint list. I have 2 columns that are fomatted as currency in the original list, with a 3rd that's a calculation of the difference. I've seen solutions for text fields used for numbers wherein they use a formula to change the field to start with a dollar sign and end with .00. This won't work for me. Is this being added to PowerApps soon?

 

This is for a new list; however, I have a number of SP lists in InfoPath that we want to convert to PowerApps and we must have that functionality in order to do that.

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Community Support
Community Support

Hi @JC-8 

 

Could you please try this formula expression?

Text( CurrencyColumnName, "[$-en-US]$ #.00" )

currency.PNG

 

More information:

function-text

 

Best Regards.

Yumia

 

View solution in original post

Highlighted
Solution Specialist
Solution Specialist

Hi @JC-8 ,

Have you tried testng @v-yuxima-msft  solution?

 

On PowerApps are you using a Gallery to display the SharePoint list or a Form?

If you're using a Gallery:
For 2nd Column Just add TextInput or Label and change the Text() Property to: (for first Column)

Text( CurrencyColumn1, "[$-en-US]$ #.00" )

 

For 2nd Column add another TextInput or Label and change the Text() Property to :(for second Column)

Text( CurrencyColumn2, "[$-en-US]$ #.00" )


If you're using Form:

 

Find the DataCard InputBox and change the Text() Property to:

Text( Parent.Default, "[$-en-US]$ #.00" )

----------------------------------------------------------------------------
Thanks,
K-A-R-L


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If you thought this post was helpful, please give it a Thumbs Up.

 

View solution in original post

4 REPLIES 4
Highlighted
Community Support
Community Support

Hi @JC-8 

 

Could you please try this formula expression?

Text( CurrencyColumnName, "[$-en-US]$ #.00" )

currency.PNG

 

More information:

function-text

 

Best Regards.

Yumia

 

View solution in original post

Highlighted

I'm really new to PowerApps -- can you tell me where that formula goes?

Highlighted
Solution Specialist
Solution Specialist

Hi @JC-8 ,

Have you tried testng @v-yuxima-msft  solution?

 

On PowerApps are you using a Gallery to display the SharePoint list or a Form?

If you're using a Gallery:
For 2nd Column Just add TextInput or Label and change the Text() Property to: (for first Column)

Text( CurrencyColumn1, "[$-en-US]$ #.00" )

 

For 2nd Column add another TextInput or Label and change the Text() Property to :(for second Column)

Text( CurrencyColumn2, "[$-en-US]$ #.00" )


If you're using Form:

 

Find the DataCard InputBox and change the Text() Property to:

Text( Parent.Default, "[$-en-US]$ #.00" )

----------------------------------------------------------------------------
Thanks,
K-A-R-L


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If you thought this post was helpful, please give it a Thumbs Up.

 

View solution in original post

Highlighted
Frequent Visitor

 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (10,001)