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 / How to capture number ...
Power Apps
Answered

How to capture number from text field (format- number)

(0) ShareShare
ReportReport
Posted on by 67

screenshotscreenshot

The app i am creating is not connected to any background sharepoint or excel file. The problem i am facing is label1 is supposed to display some number based on Fault distance entry by user. The Faultdistance input format is changed to number format in format property. 

 

Can anyone help me to overcome the error??

Categories:
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello @bhrigu12 

     

    could you try to use this code

    If(And(Value(Faultdistance.Text)>=0,Value(Faultdistance.Text)<0.4),"12","13")

    Best regards

    Vasii 🙂

  • bhrigu12 Profile Picture
    67 on at

    Thanx @Anonymous ,

     

    THis was so simple....i tried using Value() function but dint use '.text' because of which the same error was shown... Now its working... Thnx for the help. 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    You are welcome @bhrigu12 

     

    i am glad that i could help you 🙂

     

    Best regards

    Vasii

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 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 330

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard