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
Highlighted
Super User II
Super User II

Re: Control conditional visibility if text in collection

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,683)