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 / Get multiple choice fi...
Power Apps
Answered

Get multiple choice field of Person as Combobox selection and gallery view

(0) ShareShare
ReportReport
Posted on by 37

Hello community,

I could not find appropriate answer to I try here by myself.

 

I want to build a vacation app.

I have two sharepoint lists.

1. Employeelist

EmployeeName(text), CalendarGroupAssignment(single choice), CalendarGroupView(multiple choice)

2. Vacation Data

EmployeeName(text), VacationStartDate, VacationEndDate, etc.

 

My goal is that the user can see in a GroupCalender his vacation and the vacation of it's group members on a specific date.

 

EmployeeNameCalenderGroupAssignmentCalendarGroupView
AFinanceFinance, Controlling
BFinanceFinance
CControllingControlling

Employee A can see vacation of A, B, C

Employee B can see A, B

Employee C can see A, C

 

Furthermore the user should have an option to select data of the gallery only of e. g. Finance or Controlling (if he is allowed to see.)

 

Thank you in advance for you ideas.

 

Rg. Sascha

Categories:
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @SaschaGeng :

    I assume:

    • "CalenderGroupAssignment" indicates the group the user is in
    • "CalendarGroupView" means that the user has viewing rights to these groups

    I have some doubts about the rules,could you tell me:

    Since C only has the authority to "Controlling", why can I see the data of A in the "Finance" group?

    If ignore the rule "Employee C can see A, C", you can refer to these formulas:

    UserA(can see vacation of A, B, C😞

    Filter(
     Vacation,
     EmployeeName in Filter(
     Employeelist,
     CalendarGroupAssignment in LookUp(
     Employeelist,
     EmployeeName = "A"
     ).CalendarGroupView
     ).EmployeeName
    )

    UserB(can see vacation of A, B)

    Filter(
     Vacation,
     EmployeeName in Filter(
     Employeelist,
     CalendarGroupAssignment in LookUp(
     Employeelist,
     EmployeeName = "B"
     ).CalendarGroupView
     ).EmployeeName
    )

     UserC(can see vacation of C)

    Filter(
     Vacation,
     EmployeeName in Filter(
     Employeelist,
     CalendarGroupAssignment in LookUp(
     Employeelist,
     EmployeeName = "C"
     ).CalendarGroupView
     ).EmployeeName
    )

    Best Regards,

    Bof

  • SaschaGeng Profile Picture
    37 on at

    Hello @v-bofeng-msft,

    sorry for my late reply!

    Of course you were right. C can ony see C.
    Thank you so much for the solution. Works perfect!

    Do you have also any idea for the second part of my problem,  to create a combobox that contains only the choices that I am allowed to see and to have an option to filter all, multipe or only one Group?

    Regards Sascha

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 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard