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 / On Visible - with cond...
Power Apps
Unanswered

On Visible - with conditions

(0) ShareShare
ReportReport
Posted on by 557

Im trying to set a OnVisible parameters that if any of these conditions occur, then make the button visible 

--there must be more than 2 team members selected 

--The LOB field must filled out

--the Performance type field must be filled out.   

but having difficulty with the if statements, any help is appreciated.

 

CoachingApp_.png

 

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

    Try this code. Modify as needed

    CountRows(TeamMemberComboBox.SelectedItems) > 2 ||
    !IsBlank(LOB.Selected.yourColumn) ||
    !IsBlank(Performance.Selected.yourColumn)
  • Gorilla_8 Profile Picture
    on at

    Hi @joel914823 

    try this: 

     

    If( !IsBlank(LOB_2.Selected.Value) || !IsBlank(PerfomanceType_2.Selected.Value) || CountRows(Col_GroupaCoachSelected) > 2, true, false)

     

     

    If I help or solved your problem, please accept as soluiton and give me kudos! Thanks

  • Verified answer
    WarrenBelz Profile Picture
    153,026 Most Valuable Professional on at

    Hi @joel914823 ,

    I will add another refinement - you do not need If/true/false on Visible - you just need to make a statement that is either true or false. Also Len() covers IsBlank, IsEmpty and empty string "".

    Len(LOB_2.Selected.Value) > 0 && 
    Len(PerformanceType_2.Selected.Value) > 0 && 
    CountRows(Col_GroupCoachSelected) > 1

    Only when all of this statement is true, will the control will be visible.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

     

     

     

  • joel914823 Profile Picture
    557 on at

    Thank you @WarrenBelz  that worked!

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard