web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Currency and decimal f...
Power Apps
Answered

Currency and decimal format

(1) ShareShare
ReportReport
Posted on by 3,293

Hello there,

 

I have a table exported from Microsoft Access in excel, that table has all of the info that I request for my power app, in that table I have two fields which is I would like to show as it is, the first one has a decimal format and the second one has a currency format, in my excel file I can see properly, but in my power app I only see just the number wtihout any format.

 

Any idea? 

 

Thanks in advance

 

 

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi Sajarac,

     

    You could use Text function to format a number on PowerApps. For more details, please see this article for a reference:
    https://powerapps.microsoft.com/en-us/tutorials/function-text/

     

    I have a table exported from Microsoft Access in Excel, then I save the Excel file in OneDrive, create an app with this Excel file. In the app, I use Text function to format the number.
    >About the Currency field, I set its Text property to: Text(Field1,"[$-en-US]$,###,##.##")
    >About the Number field, I set its Text property to: Text(Field2,"[$-en-US]###,##.##")

     

    On the app, it shown as below:

    Access.PNG

     

    Please try if this works for you.

     

    Best regards,
    Mabel Mao

  • Sajarac Profile Picture
    3,293 on at

    Thank you very much, it works for the currency, but no for the decimal field, also I've tried to change the date format to remove the time but didn't work.

     

    Screen.png

  • AndyPennell Profile Picture
    Microsoft Employee on at

    I would take a guess that the type of your Start_Date column is text, not datetime. You need to convert that string into a PowerApps date, then format it, with something like

     

    Text(DateValue(Start_x0020_Date), ShortDate)

     

    I don't have enough information to try and assist with the decimal issue.

     

  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi Sajarac,

     

    Thanks for your reply. Could you show us your data source configuration? How is the decimal field and data and time field configured in the Access?

     

    Best regards,
    Mabel Mao

     

  • Sajarac Profile Picture
    3,293 on at

    Thank you very much for your reply, here are some screen shots:

     

    SQFT.JPGstartdate.JPG

  • Verified answer
    v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi Sajarac,

     

    Here is the screenshot of my database configuration:

    Number.PNGDate and Time.PNG

    Then I export the data from Access in Excel, format the data as a table, save it in OneDrive, create an app from data with this Excel file. In the app, Number and Data and Time fields are shown as below:

    Textbefore.PNG

    Then I configure the Text property of Date and Time field as: Text(Date_x0020_and_x0020_Time,ShortDate), the Text property of Number field as: Text(Number,"[$-en-US]###,###.##"), then the Currency field as: Text(Currency,"[$-en-US]$###,###"). The screenshot after configuration:

    Textafter.PNG

     

    Here is the steps, hope it can be a reference for you. please feel free reply if you need more help.

     

    Best regards,
    Mabel Mao

  • jcollins Profile Picture
    149 on at

    what if your field doesn't have the "Text" property? 

    it is a Number field in the sharepoint list but I don't see a "Text" property for it nor my "single line text" column fields.  ugh... 

  • Chicko29 Profile Picture
    38 on at

    How you accomplish the same with a euro sign? I tried changing the dollar sign to a euro sign but it generated an error

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Does the Text('Total Spend',"[$-en-US]$###,###") go in the Role section under Data Menu from the Advanced Tab? Or where does it go? 

    It let's me submit it there without errors, but it is not updating the number to display it as currency. 

    Data Role.jpg
  • Sajarac Profile Picture
    3,293 on at

    Try this one isntead:

     

    Text(Value(Total Spend),"[$-en-US]$#,##0.00#")

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 342 Most Valuable Professional

#2
11manish Profile Picture

11manish 234

#3
Valantis Profile Picture

Valantis 187

Last 30 days Overall leaderboard