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
Solved! Go to Solution.
In that case follow this approach;
------------
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.
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;
------------
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. 🙂
User | Count |
---|---|
256 | |
110 | |
90 | |
51 | |
44 |