cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Poseidon10
Helper I
Helper I

Card visible based on a variable

I am using a PowerApps from a SharePoint list.  I have 1 variable that will either bet set to Finance, Contracts or All.  I need a card visible if it equals Contracts OR All. 

 

I tried If(varRequired="Contracts, true, If(varRequired="All", true),false) and it does not work.  I tried a lot of other formulas too but nothing has worked.

 

Thanks for all the help.

1 ACCEPTED SOLUTION

Accepted Solutions
rubin_boer
Super User
Super User

hi @Poseidon10 add this to Visibile varRequired in ["Contracts", "All"]

View solution in original post

3 REPLIES 3
BCBuizer
Super User
Super User

Hi @Poseidon10 ,

 

Please try:

varRequired = "Contracts" || varRequired = "All"
rubin_boer
Super User
Super User

hi @Poseidon10 add this to Visibile varRequired in ["Contracts", "All"]

Worked perfectly, thank you.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (4,771)