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

Re: Number Formatting -- Dollar signs, commas and decimal points

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

Re: Number Formatting -- Dollar signs, commas and decimal points

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

Re: Number Formatting -- Dollar signs, commas and decimal points

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
Frequent Visitor

Re: Number Formatting -- Dollar signs, commas and decimal points

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

Highlighted
Solution Specialist
Solution Specialist

Re: Number Formatting -- Dollar signs, commas and decimal points

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

Re: Number Formatting -- Dollar signs, commas and decimal points

 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (4,993)