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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Decimal places and Cur...
Power Apps
Unanswered

Decimal places and Currency

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all,

I am struggling to get two decimal places to show in my datatable.  I stuck a label in over to the right that has Text(Sum(expense,Estimated),"[$-en-US]#,##0.00") and notice that it shows $12.50 which is how I want it to display.  However, in the datatable under "Estimated Expense", it shows $12.5 instead of $12.50.  I tried setting the Items value of the datatable to AddColumns(expense,"calcfield",Text(EstimatedDatacard.Text,"[$-en-US]#,##0.00")) but I must have it wrong as the added column is completely empty. 

"EstimatedDatacard" is the inputbox under "Estimated Expense" which is set to a "Number" format.

Decimal.PNG

Any ideas?

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    Right now there is no way to apply formatting directly to a data table column.  But you can use AddColumns to add pre-formatted fields to the datasource or collection you are passing to a data table.  Here's a Blog that shows how to do it.

    https://blogs.msdn.microsoft.com/carlosfigueira/2017/09/01/formatting-fields-in-data-tables/

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard