web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Answered

Visible

(0) ShareShare
ReportReport
Posted on by 12

Hi guys.

I have a gallery that are filtered <<Office365Users.DirectReportsV2(User().Email).value >>

Is there a way to set a icon within a gallery to visible If  <<ThisItem.mail>> email address exist in a SharePoint list?

I succeed if I have the column in text format, but not when the column is People & Group.

What I want to achieve is that everyone in the gallery who is in a specific SharePoint list, should get an icon in the gallery.

Categories:
I have the same question (0)
  • BCBuizer Profile Picture
    22,844 Super User 2026 Season 2 on at

    Hi @Anjac ,

     

    In case you have a text type column in your SharePoint list, you can use the below on the Visible property of the icon in the gallery:

     

     

    !IsBlank(
     LookUp(
     SharePointListName, 
     EmailColumnName = ThisItem.Mail
     )
    )

     

    Of course you will have to replace SharePointListName with the name of your SharePoint list and the same for EmailColumnName.

     

  • Anjac Profile Picture
    12 on at

    Thx for trying to help me !!=)
    I get a error 

    !IsBlank(LookUp(Truckar, EMail = ThisItem.mail))
    Incompatible types for comaparison, these can´t be compared: Record, Text.
    My SPL is Truckar.

    The my column EMail is a person & group column.

    I use this when i used the column as text 

    ThisItem.IsSelected And !IsBlank(LookUp(Utbildare,Truck = VarUser).Truck)

    and that works.

  • Anjac Profile Picture
    12 on at

    I found a solution

    !IsBlank(LookUp(Truckar, EMail.Email = ThisItem.mail))

  • Verified answer
    BCBuizer Profile Picture
    22,844 Super User 2026 Season 2 on at

    Hi @Anjac ,

     

    In case you are using a people/group type column, indeed you need to select the Email property for this to work.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard