Showing results for 
Search instead for 
Did you mean: 
Level 8

Conditional visibility based on collection text

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?

Super User
Super User

Re: Conditional visibility based on collection text

Could you be more specific with regards to where you are viewing the collection.  Do you want to filter the collection for the phrase and show only the records that contain the phrase in a gallery or do you want to blank out an item in a gallery? 

Community Support Team
Community Support Team

Re: Conditional visibility based on collection text

The formula should be written as below:

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

If you would like to check if the Text exists in the Collection Result field.


Let me know if you have any further questions.




Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 172 members 4,517 guests
Please welcome our newest community members: