cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ramanan89
Helper III
Helper III

Visible only for Admin Group

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

1 ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

8 REPLIES 8
eka24
Super User
Super User

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.

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

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.

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

This works very well. Thank you so much 🙂 

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 

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.

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

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

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (2,003)