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 / Conditional card visib...
Power Apps
Unanswered

Conditional card visibility from SP Lookup List

(0) ShareShare
ReportReport
Posted on by 15

I have read a lot of posts about Conditional forumlas. I cant seem to get this one to work.

I need to display a datacard if the value is present in a drop down, multivalue, lookup (coming from sharepoint) drop down list. 

 

Visible = If(LookUp(Application Owners,RequestType = Email/Shared Mailbox.Selected.Value), true, false)

 

Is what i'm have been trying but i'm getting issues with the data source name stating its invalid (its correct), the value name (its correct). Any ideas?

 

Please & Thanks

 

 

 

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

    Would you please share more details about the error message?

     

    if the lookup field is from SharePoint list, then I suspect the Control should be a ComboBox control, so the formula should be modified as below:

    Visible = If(!IsEmpty(filter(Application Owners,RequestType in Email/Shared Mailbox.SelectedItems.Value)), true, false)

    The first parameter of if expects the expression to be a boolean type value, while the lookup function will result in a record type, os it will not work.

    IsEmpty () together with the filter function will make the expression result in boolean value, to determine whether there is records matches the search condition.

     

    Let me know if you have any further questions.

     

    Regards,

    Michael

  • Anomadeus Profile Picture
    15 on at

    Thank you or your reply. Here is the error that your formula has generated.image.png

     

    The control that the user select the choices from is a combo box called RequestType. i'm not sure I need it to search records.. I just need it to test if the user has selected "Email/Shared Mailbox"  from the RequestType combo box and then have it make the card visable.

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard