cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
hong_yip
Helper II
Helper II

Filter base on sharepoint list combobox

i want to create combobox, merge two choice field values in combobox, and add filter function select one of staff.

e.g staff1 login and combobox only have "A"  and "D" value at combobox, staff2 login and combobox only have "B"  and "F" value at combobox

combobox1.jpgcombobox2.jpgcombobox3.jpg

hong_yip_0-1612174776935.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-xiaochen-msft
Community Support
Community Support

Hi @hong_yip ,

 

According to your description, I did a test for you:

1\ Add a combo box control 'ComboBox1' and set its Items property to:

ManagersDepartment.'Manager''s Name'

 

Set the combo box control's Onchange property to:

Reset(ComboBox2)

 

2\ Add a combo box control 'ComboBox2' and set its Items property to:

Table(LookUp(ManagersDepartment,'Manager''s Name'=ComboBox1.Selected.'Manager''s Name').Dept_1,LookUp(ManagersDepartment,'Manager''s Name'=ComboBox1.Selected.'Manager''s Name').Dept_2)

 

3\ The result is as follows:

QQQ.gif

Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.

View solution in original post

3 REPLIES 3
v-xiaochen-msft
Community Support
Community Support

Hi @hong_yip ,

 

According to your description, I did a test for you:

1\ Add a combo box control 'ComboBox1' and set its Items property to:

ManagersDepartment.'Manager''s Name'

 

Set the combo box control's Onchange property to:

Reset(ComboBox2)

 

2\ Add a combo box control 'ComboBox2' and set its Items property to:

Table(LookUp(ManagersDepartment,'Manager''s Name'=ComboBox1.Selected.'Manager''s Name').Dept_1,LookUp(ManagersDepartment,'Manager''s Name'=ComboBox1.Selected.'Manager''s Name').Dept_2)

 

3\ The result is as follows:

QQQ.gif

Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.

View solution in original post

Thx v-xiaochen-msft

 

now i can get dept_1 and dept_2 at combobox, i want to do one more thing, how can i filter other sharepoint list at gallery from combobox.

 

other list below

 

order(Single line of text)    Department(Lookup)
O-1234                                A
O-1235                                B
O-1236                                C
O-1237                                D
O-1238                                E
O-1239                                F

v-xiaochen-msft
Community Support
Community Support

Hi @hong_yip ,

 

Glad to help you.

This post has been solved. If you have a new problem, please create a new post.

I am glad to continue to help you.

 

Best Regards,

Wearsky

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (2,005)