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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Hide Button based on S...
Power Apps
Answered

Hide Button based on Sharepoint List column value

(0) ShareShare
ReportReport
Posted on by 9

Hi, I have spent many hours searching for my solution. There are similar questions already posted, but what I need is to HIDE Button based on my Sharepoint List column:

 

1)I have Sharepoint List "Workers" with 3 available Positions("Positions" is a column)- "Employee"," Deputy", "Admin"(basically a selectable Value in List)

2) If User is Admin then show the button, else hide

3) Other solutions point to LookUp function just to return value if person is in the list. I DO NOT need to check if person is in the list, but to check if already existing person is of Value = Admin

 

My idea:

 

On App Screen:

 

Set( UserPosition; LookUp(Workers; UserPosition.Position.Value ="Admin"))

 

On Employe Screen:

 

Visible = UserPosition

 

I know it is false, but just as an idea..

 

Categories:
I have the same question (0)
  • Verified answer
    Ramole Profile Picture
    Super User 2024 Season 1 on at

    Hi @momo1608 

    Have look this it may help you 

    https://www.youtube.com/watch?v=0MB-z9cyFCQ 

  • momo1608 Profile Picture
    9 on at

    Hi Ramole, it was helpful(I saw already this video many time, but skipped this part at 18:00minutes ). BUT I needed to adjust this formula:

     

     If you want specific column - Visible=!IsBlank(LookUp(Workers; Position.Value = "Admin").Position)

     

    In my case specific column is Position, list is Workers, !IsBlank searches if value exists in Position column

     

    I wish to thank you for help, this small part of video that I skipped was the most important one. It directed me to my solution. Cheers !

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard