cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Skilled Sharer
Skilled Sharer

Control conditional visibility if text in collection

Is it possible to set the visibility property of an item to true if a certain text phrase is in a collection:

For ex:

If(colName.Result = "Text Phrase", true, false)

Or something along these lines?

1 REPLY 1
Super User
Super User

It is possible. You could just do a lookup to the collection and if the text phase doesn't exist then set it to false otherwise set it to true.

Example (assumes the collection is named colName and the column name of the text phase is Result):

 

If(IsBlank(Lookup(colName, Result = "Text Phase")),
  false,
  true
)


--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (8,052)