cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ClipperSun
Advocate I
Advocate I

Conditional statement for Visibility

I have following gallery called 'EndCycle_Gallery'. And a button called 'Complete a review'.

 

ClipperSun_0-1628599258066.png

Status options are as follows:

Not Submitted
Awaiting approval
Approved
Rejected

 

I want the 'Complete a review' button to be visible only if Status of the selected item in the gallery is 'Not Submitted' or "Rejected".

 

I am using If(Text(EndCycle_Gallery.Selected.Status.Value)="Not Submitted", true , false ) but I dont know how to add the second statement to include "Rejected".

 

Please help.

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
zmorek
Super User
Super User

If(Or(EndCycle_Gallery.Selected.Status.Value="Not Submitted", EndCycle_Gallery.Selected.Status.Value="Rejected"),true , false )

View solution in original post

2 REPLIES 2
zmorek
Super User
Super User

If(Or(EndCycle_Gallery.Selected.Status.Value="Not Submitted", EndCycle_Gallery.Selected.Status.Value="Rejected"),true , false )

View solution in original post

Tahnk you!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,209)