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 / Visible If statements ...
Power Apps
Suggested Answer

Visible If statements with multiple choice

(1) ShareShare
ReportReport
Posted on by 22
Hi everyone,
 
I am hoping this is an easy fix, so any help is appreciated :)
 
I have an Edit Form (formCoffee), that has a bunch of datacards connected via SharePoint. I have specific datacards that I want visible/invisible based on what 'Location' option is selected in a multiple-choice dropdown datacard I have setup. This is the closest I have gotten as an example:

I am wanting the below code to make said datacard only visible if 1 of these 3 locations are selected. Currently it only makes visible 'Headquarters', I assume because it's the first one listed. How can I write this, so it is visible when any of these are selected?

 
If(DataCardValue96.Selected.Value="Headquarters", true ,"Solutions", true ,"Southwoods", true )
Categories:
I have the same question (0)
  • cwyn_ah Profile Picture
    22 on at
    UPDATE:
     
    I just figured it out hours later haha, here was my solution:
     
    If(Or(DataCardValue96.Selected.Value="Headquarters",DataCardValue96.Selected.Value="Solutions",DataCardValue96.Selected.Value="Southwoods"), true , false )
  • Suggested answer
    Nandit Profile Picture
    1,568 Moderator on at
    Hi there, feels good when you find the solution, right? :)

    you can make the solution simpler this way - 
     
    DataCardValue96.Selected.Value="Headquarters" ||
    DataCardValue96.Selected.Value="Solutions" || 
    DataCardValue96.Selected.Value="Southwoods"
    If this answers your query, please mark this response as the answer.
    If its helpful, please leave a like. Thanks!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard