cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
3csman
Impactful Individual
Impactful Individual

How to Set Visible Condition on Gallery Icon

I am trying to set a 'right arrow' icon's Visible property.

 

If the following Titles appear in the Gallery field show the arrow, if not hide the arrow.

When I use the '!' the arrow appears on every line. If I don't use the '!' no arrow appears on any line.

 

Is there a way to write the condition to where is the four Titles appear the icon appears on ONLY that line and on all other lines that don't have one of these four titles no icon appears? 

3csman_1-1611935460812.png

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
RandyHayes
Super User III
Super User III

@3csman 

Please consider changing your Visible property Formula to the following:

(ThisItem.MemberProfileGalleryCQTitleFld.Text in 
    "Fitness Text|Medical|Self-Contained Breathing Apparatus Fit Test|Live Fire Refresher|")

No If statement is needed in this formula and, if I understood your logic properly, it should give you what you want.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

View solution in original post

JR-BejeweledOne
Super User
Super User

Change your formula here:

 

 If( ThisItem.MemberProfileCQTitleField.Text ..........................

 

Your current formula references the entire gallery rather than the individual item.    You have to use 'ThisItem' to reference a single instance.

 

Here is an example:

 

ThisItem.png



If you like this post, give it a Thumbs up. If it answered your question, Mark it as a Solution to enable other users find it.

View solution in original post

2 REPLIES 2
RandyHayes
Super User III
Super User III

@3csman 

Please consider changing your Visible property Formula to the following:

(ThisItem.MemberProfileGalleryCQTitleFld.Text in 
    "Fitness Text|Medical|Self-Contained Breathing Apparatus Fit Test|Live Fire Refresher|")

No If statement is needed in this formula and, if I understood your logic properly, it should give you what you want.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

View solution in original post

JR-BejeweledOne
Super User
Super User

Change your formula here:

 

 If( ThisItem.MemberProfileCQTitleField.Text ..........................

 

Your current formula references the entire gallery rather than the individual item.    You have to use 'ThisItem' to reference a single instance.

 

Here is an example:

 

ThisItem.png



If you like this post, give it a Thumbs up. If it answered your question, Mark it as a Solution to enable other users find it.

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (100,496)