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 / if comparison with mul...
Power Apps
Answered

if comparison with multiple condition

(0) ShareShare
ReportReport
Posted on by 64

i have SharePoint customized form using power app

 in that one column value isdatacardvalue1=  Value((DataCardValue34.Text) + (DataCardValue35.Text) + (DataCardValue30.Text)+ (DataCardValue18.Text)+(DataCardValue28.Text)+(DataCardValue20.Text)+(DataCardValue32.Text)+(DataCardValue42.Text)+(DataCardValue40.Text)+(DataCardValue38.Text))/10

 

and i have another column where i am trying to get value from data card 1 and depending on that setting a value

4.50 to 5.00Outstanding
4.00 to 4.49Very Strong
3.00 to 3.99Strong
2.00 to 2.99Adequate
1.00  to 1.99Developmental

 

 i tried t0 use If(Value(DataCardValue1.Text) >= 4.5 , "Outstanding", Value(DataCardValue1.Text) >= 4 , "Very Strong") 

 

but its not working , please help

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Hi @jaleefpk 

    Switch(ValueDataCardValue >4.5,"Outstanding",
     >=4.0 && < 4.5, "Very Strong",
     >=3 && <4.0, "Strong",
     >=2.0 && < 3.0, "Adequate",
     <2,"Developmental"
     ) 
  • jaleefpk Profile Picture
    64 on at

    Hi @Drrickryp  thanks for responding 

     

    but i am getting below error , am i missing anything 

    jaleefpk_0-1608914892453.png

     

  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @jaleefpk 

    Trying again, This formula in a text box

     

    If(
     DataCardValue1.Text*1 >= 4.5,
     "Outstanding",
     DataCardValue1.Text*1 >= 4.0 && DataCardValue1.Text*1 < 4.5,
     "Very Strong",
     DataCardValue1.Text*1 >= 3 && DataCardValue1.Text*1 < 4.0,
     "Strong",
     DataCardValue1.Text*1 >= 2.0 && DataCardValue1.Text*1 < 3.0,
     "Adequate",
     DataCardValue1.Text*1 < 2,
     "Developmental"
    )

     

     

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard