cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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

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
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (3,493)