Original Message:
Sent: Mar 04, 2021 05:27 PM
From: Fernand B
Subject: Visible condition on combo box lookup from SP list
That did the trick! Thank very much Warren, I will remember to look out for column names issues if I change them.
All the best!
Fernand
------------------------------
Fernand B
Senior Application Developer
Original Message:
Sent: Mar 04, 2021 05:17 PM
From: Warren Belz
Subject: Visible condition on combo box lookup from SP list
@Fernand B,
Now I can see your structure, try"Research" in DataCardValue2.SelectedItems.Type_x0020_of_x0020_Report
You might also change your SearchFields to Type_x0020_of_x0020_Report
------------------------------
Warren Belz
Queensland Australia
Original Message:
Sent: Mar 04, 2021 04:54 PM
From: Fernand B
Subject: Visible condition on combo box lookup from SP list

Items are pointing to another SO list

------------------------------
Fernand B
Senior Application Developer
Original Message:
Sent: Mar 04, 2021 04:42 PM
From: Warren Belz
Subject: Visible condition on combo box lookup from SP list
@Fernand B,
Please confirm DataCardValue2 is a Combo Box and also what are its Items?
------------------------------
Warren Belz
Queensland Australia
Original Message:
Sent: Mar 04, 2021 04:30 PM
From: Fernand B
Subject: Visible condition on combo box lookup from SP list
Hi Warren,
This is what I get. I've tried many variations.

------------------------------
Fernand B
Senior Application Developer
Original Message:
Sent: Mar 04, 2021 04:15 PM
From: Warren Belz
Subject: Visible condition on combo box lookup from SP list
Hi @Fernand B,
That was not what I posted - try
"Research" in DataCardValue2.SelectedItems
------------------------------
Warren Belz
Queensland Australia
Original Message:
Sent: Mar 04, 2021 08:37 AM
From: Fernand B
Subject: Visible condition on combo box lookup from SP list
Hi Warren,
Anytime I try this I get the following:

------------------------------
Fernand B
Senior Application Developer
Original Message:
Sent: Mar 04, 2021 05:03 AM
From: Warren Belz
Subject: Visible condition on combo box lookup from SP list
Hi @Fernand B,
The underlying Lookup should not be an issue as you are simply dealing with the output of the control - try this(in the Visible property)"Research" in DataCardValue2.SelectedItems
This is a Boolean (true/false) argument and should be reflected in the Visible property of the control
------------------------------
Warren Belz
Queensland Australia
Original Message:
Sent: Mar 03, 2021 02:48 PM
From: Fernand B
Subject: Visible condition on combo box lookup from SP list
Still not working. I re-added the DataCard. Would there be an issue with the fact that the lookup is pointing to another list?

------------------------------
Fernand B
Senior Application Developer
Original Message:
Sent: Mar 03, 2021 01:27 PM
From: Will Page
Subject: Visible condition on combo box lookup from SP list
If you're changing the column type in the data source, you should remove and re-add the data card.
------------------------------
Will Page
Technical consultant
Christchurch, NZ
Original Message:
Sent: Mar 03, 2021 01:09 PM
From: Fernand B
Subject: Visible condition on combo box lookup from SP list
Thank Ryan but it doesn't work. When I checked "Allow multiple" I get this:

------------------------------
Fernand B
Senior Application Developer
Original Message:
Sent: Mar 03, 2021 09:03 AM
From: Ryan Kirk
Subject: Visible condition on combo box lookup from SP list
Hi Fernand,
Here's what I have used for a multiselect dropdown.
If("Research" in DataCardValue2.SelectedItems.Value,true,false)
------------------------------
Ryan Kirk
Web Application Specialist
Madison WI
6086636745
Original Message:
Sent: Mar 02, 2021 09:43 AM
From: Fernand B
Subject: Visible condition on combo box lookup from SP list
Hello,
I have the following column in my Power App which is a a multi select looku.

I have a datacard that should be hidden unless "Research" is selected from the combo box. Usually on I would use the following:
If(DataCardValue2.SelectedItems,Value ="Research")>0,true,false)
I assume this does not work because it is a lookup and I cannot figure this out.
Your help would be appreciated.
Thanks
Fernand
------------------------------
Fernand B
Senior Application Developer
------------------------------