Hi Everyone,
I am new to Power Apps. Please help me with a solution to my problem.
I have two Sharepoint lists : EmpDetails (Employee Form) and TechForm (Department Form).
I have 4 columns in EmpDetails list. The fourth column (Department) is a look up column which is connected to the other list TechForm. In TechForm lilst, I have one column only with 4 rows.

I have 3 galleries :
1. For selecting the Department (HR/Admin/etc)
2. For displaying the names associated with the Department and also selecting it.
3. If we select the checkbox in Gallery 2, the details are displayed in Gallery 3.
When I select HR, then a new checkbox appears associated with it (Atul), as circled in the image above.
What I want is that when I select on two checkboxes, like HR and Admin, it should display the checkboxes associated with it(both HR and Admin). Is it possible? If possible then how to do it? please help.
Here is the tree view of my Department Form :
