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 / PowerApps Numeric Valu...
Power Apps
Unanswered

PowerApps Numeric Value doesn't gives correct value from Sql server database.

(0) ShareShare
ReportReport
Posted on by 26

Hello,

 

I am working with PowerApps and sqlserver when I save numeric/number value from PowerApps to sql server it saves correctly

as 23.0 but in PowerApps it shows 23. Can you please help me on this topic.

 

Code on on change property- Set(Varht,Text(Value(lblHoursWorked.Text),"[$-en-US]#.0"))

default- variable is passed(Varht).

Sql server table- it stores 23.0(correctly)- data type in sql server is Numeric(18,1).

PowerApps it shows -23.

 

Thank you 

Categories:
  • timl Profile Picture
    37,424 Super User 2026 Season 2 on at

    @Sameerkulkarni 

    Where you display the value from SQL server, you can format the value to 1 decimal place by calling the text fuction:

    Text(ValueToDisplay, "#.0")

    With numeric data storage in SQL Server, 23 == 23.0.  Therefore, it's necessary to apply the Text function to format the value as required.

     

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard