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 Platform Community / Forums / Power Apps / Visibilty of the butto...
Power Apps
Unanswered

Visibilty of the button based on the user login

(0) ShareShare
ReportReport
Posted on by

Hi 

 

I just need to add some visibility for the button based on the user logged in 

 

If(
!IsBlank(
LookUp(
WPP_IT_Top_risks,
VarTopITrisknames in Risk_name,
User().Email in LT_Owner.Email || User().Email in Risk_Owner.Email) || User().Email = "dorny@wpp.com"
),
true,
false
)

I have a tootle in my PowerApps form , I need to set the visibity based on the user logged in 

 

 I need to whether the user email is in list of Lt owner or the Risk Owner column aligned with the specified risk  or else it matches with the email ID de@wp.com, if the user email matches any of these condition I want the button should be visible or else not visible 

 

The above formula is not working for me   could anyone please help me to fix the issue 

 

Lt owners and Risk owners are person type column "Allow multiple Selection"

 

could anyone please helpme tofix the issue 

 

Categories:
I have the same question (0)
  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @Danny_Dicaprio ,

     

    Please try this:

    !IsBlank(
    LookUp(
    WPP_IT_Top_risks,
    VarTopITrisknames in Risk_name&&(
    User().Email in LT_Owner.Email || User().Email in Risk_Owner.Email)))|| User().Email = "dorny@wpp.com"

     

    Best regards,

    Rimmon

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 846

#2
Valantis Profile Picture

Valantis 532

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard