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

PowerApps Issue... showing a currency field as a currency and not a number

I have a PowerApp that is showing four currency fields from the Common Data Service as numbers with no commas or currency signs...

 

PowerApp1.png

 

Within the common data service the fields are registered as currency...

 

Common Data Service.png

 

So in PowerApps, I formatted the Text property of the Data field to Text(Parent.Default,"[$-en-US]$ #,###") as per the instructions at https://powerapps.microsoft.com/en-us/tutorials/function-text/ ...

 

PowerApp Edit.png

 

 

However this does nothing to the field in the actual UI and I am still left with unformatted fields as referenced above.

 

This appears to be a bug.  Can anyone else confirm that they are seeing the same issue?  If not, how were you able to resolve this?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Power Apps
Power Apps

Re: PowerApps Issue... showing a currency field as a currency and not a number

I would surmise that those fields are being delivered into PA as strings, not numbers, which is why attempts to format them as numbers fail. Try wrapping the field in the Value() function to turn it from a string into a number, then format that.

View solution in original post

3 REPLIES 3
Highlighted
Power Apps
Power Apps

Re: PowerApps Issue... showing a currency field as a currency and not a number

I would surmise that those fields are being delivered into PA as strings, not numbers, which is why attempts to format them as numbers fail. Try wrapping the field in the Value() function to turn it from a string into a number, then format that.

View solution in original post

Highlighted
Community Support
Community Support

Re: PowerApps Issue... showing a currency field as a currency and not a number

Hi @jobender,

 

Try this:

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

See:

60.PNG

Regards,

Michael

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

Re: PowerApps Issue... showing a currency field as a currency and not a number

Thanks for the insight, that formula did the trick.

 

 

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,493)