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 / Visible only for Admin...
Power Apps
Answered

Visible only for Admin Group

(0) ShareShare
ReportReport
Posted on by 168

Hi all, I am trying to hide a Combo box named "Type" from "Visitors" group and it should be only visible for the "Admin" group in the form. Can this be done in power apps? Any help please. Regards

Categories:
  • eka24 Profile Picture
    20,925 on at

    Am assuming you have a User Table containing user datails and the group column.

     

    OnStart of the App;
    Set(LoggedGroup,LookUp(UserTable, UserColumn= User(). Email, usersGroup))

     

    Then in the visible of the Combobox;
    LoggedGroup= "Admin Group"

    ------------

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

  • ramanan89 Profile Picture
    168 on at

    Thanks, but I don't have a user table with details. It is from sharepoint I need to take the data.

  • Verified answer
    eka24 Profile Picture
    20,925 on at

    In that case follow this approach;

    https://youtu.be/d0Ra0qr29JM

    ------------

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

  • ramanan89 Profile Picture
    168 on at

    Sorry for the late reply, I wasn't well. So couldn't check it.

    This works very well. Thank you so much 🙂 

  • ramanan89 Profile Picture
    168 on at

    Hey, one quick question...

    Is there anyway to hide only one value in the comb box ?
    Right now I have given this formula in the visible property of combo box, But I actually want to hide only one value out of three values of comb box, if the value is empty.

    !IsEmpty(Filter(Office365Groups.ListGroupMembers("1223456-232-3434-2323-232323").value,mail=User().Email))

    Thanks 

  • eka24 Profile Picture
    20,925 on at

    To clarify, you have 3 users, but you want to hide one of them?

    ------------

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

  • ramanan89 Profile Picture
    168 on at

    No no. I have three options in combo box. For example, Option 1, Option 2 and Option 3. So if the user is valid, then it should show all the options else it will show only Option 1 and Option 3

  • ramanan89 Profile Picture
    168 on at

    Thanks. I was able to figure it out myself. 🙂 

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard