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

Currency format while typing in PowerApps

Hello!

 

Is there an way to have the currency format (like US$) while typing the value/price in PowerApps app?

 

We found an way, in the KB, to formar the field in the exibition (after input), but users get confused when typing the numbers in PowerApps forms.

 

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Currency format while typing in PowerApps

Hi @RickBr,

 

Do you want to format the value as currency format ($) when you type value/price in TextInput control?

 

I have made a test on my side, if you want to format the value as currency format ($) when you type value/price in TextInput control, I afraid that there is no direct way to achieve your needs in PowerApps currently.

 

As an alternative solution, please take a try with the following workaround:

 

  • Add a TextInput control (TextInput1) and a Label control (Label1) within the screen, put the Label control within the TextInput control.
  • Set the Text property of the Label control (Label1) to following formula:

 

"$"

Set the Align property of the Label control to following:

 

 

Align.Center

Set the Visible property of the Label control to following:

 

 

If(!IsBlank(TextInput1.Text),true,false)

 

 

  • Set the PaddingLeft property of the TextInput control (TextInput1) to following formula:
Label1.Width

The GIF image as below:Test1.gif

 

 

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Super User III
Super User III

Re: Currency format while typing in PowerApps

Hi @RickBr,

 

If you put "$" in the Default property of the TextInput control It will stay there when the user adds the number.  You can strip the $ off when you save the data with either Value(Texinput1.Text) or Mid(TextInput1.Text,2).  The first will truncate the number by removing trailing 00, the latter will save the number with trailing 00. $$.PNG

Highlighted
Community Support
Community Support

Re: Currency format while typing in PowerApps

Hi @RickBr,

 

Do you want to format the value as currency format ($) when you type value/price in TextInput control?

 

I have made a test on my side, if you want to format the value as currency format ($) when you type value/price in TextInput control, I afraid that there is no direct way to achieve your needs in PowerApps currently.

 

As an alternative solution, please take a try with the following workaround:

 

  • Add a TextInput control (TextInput1) and a Label control (Label1) within the screen, put the Label control within the TextInput control.
  • Set the Text property of the Label control (Label1) to following formula:

 

"$"

Set the Align property of the Label control to following:

 

 

Align.Center

Set the Visible property of the Label control to following:

 

 

If(!IsBlank(TextInput1.Text),true,false)

 

 

  • Set the PaddingLeft property of the TextInput control (TextInput1) to following formula:
Label1.Width

The GIF image as below:Test1.gif

 

 

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

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 (9,939)