Carrying on with my previous post about the PowerApp I am building.
I have a SharePoint list called 'Teachers'.
In that list there's a column called 'Subjects'.
Subject column is of type drop down and has eights subjects in it and has multi select option enabled.
I have placed it on a screen called 'Teacher profile' in my PowerApps application.
Every teacher must select two subjects from the drop down(min and max is 2) and they can have min 3 students under him/her/they and maximum of 5(this option is in a different drop down selection). Once 5 has been reached, they will not be able to take a new student.
I have a new screen in which the students will be able to view all the teachers that are available and they should be able to filter that list based on the subjects(can be a multi subject filter or a single subject filter).
I am trying to implement this and have two approaches in mind.
1. Build a new screen which will have individual buttons for the subjects and clicking on which, the student is taken to the new screen where the gallery is updated showing the teachers' data who teach that subject/subjects.
How do I implement this? How do I pick up the value from the button and then populate the gallery on the new screen for the selected data? How do I compare and search the 'Teachers' SharePoint list and update the gallery data for single and multi select?
2. Build only one screen and put the subjects in a combo box and then put a gallery on the same screen and this will filter the gallery data based on the dropdown value/s selected by the students.
How do I filter the gallery data based on the selection when the students select more than one subject/multiple subjects?

Report
All responses (
Answers (