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 / Visibility based on value
Power Apps
Answered

Visibility based on value

(0) ShareShare
ReportReport
Posted on by 121

Hi team,

 

I have a value being returned based on the average of 7 other values throughout my app. The average value will always be between 0 and 3.

 

I have 3 symbols which I am wanting to show or hide depending on this value. My intention is for a "smiley face" to be visible if the average value is equal to or greater than 2.  An "unsure face" if the value is greater than or equal to 1 but less than 2, and a "sad face" if the value is greater than or equal to 0 but less than 1.

 

For the visible parameter of the "smiley face", I have: If(AverageResult>=2,true,false)

 

I am stuck however on how to phrase the code for the "unsure" and "sad" faces, since I essentially need 2 arguments for greater than or equal to and less than.

 

I hope this makes sense and that someone out there has a better mathematical brain than me.

Cheers!

Categories:
I have the same question (0)
  • Verified answer
    v-dezhili-msft Profile Picture
    Microsoft Employee on at

    Hi @Marty_Dub ,

     

    Please try:

    unsure visible parameter:

     If(And(AverageResult>=1,AverageResult<2),true,false)

    sad visible parameter:

     If(And(AverageResult>=0,AverageResult<1),true,false)

     

    Best Regards,

    Dezhi

     

     

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard