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 Apps
Unanswered

Power App

(0) ShareShare
ReportReport
Posted on by 6
I would like to know if the input text >= 300 then show the result A if the input text >= 200 then show the result B if the input text >= 100 then show the result C if the input text >= 80 then show the result D to another box in Power App

Could you please suggest me ?
 
Categories:
I have the same question (0)
  • realwillwright Profile Picture
    772 Moderator on at
    Hi 
     
    To accomplish this you can use the Len and If functions
     
    If(
      Len(txtinput.value) >= 300,
      Result A,
      Len(txtinput.value) >= 200,
      Result B,
      Len(txtinput.value) >= 100,
      Result C,
      Len(txtinput.value) >= 80,
      Result D,
      Result E
    )
     

  • mmbr1606 Profile Picture
    14,605 Super User 2025 Season 2 on at
    hey
     
     
    you could also try this:
    If(
        Value(TextInput1.Text) >= 300, "A",
        Value(TextInput1.Text) >= 200, "B",
        Value(TextInput1.Text) >= 100, "C",
        Value(TextInput1.Text) >= 80, "D",
        "No Result"
    )
    
     
    if it worked please mark as verifies answers,
     
     
    cheers

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard