I have a gallery that is filtered by a dropdown control (Dropdown1). The Items property of the gallery is:
Switch(
Dropdown1.Selected.Value,
"Choice 1",
Filter(
GroupBy('MyDataSource', "Column1", "Column2", "Column3","DATA"),
Column1 = "true"
),
"Choice 2",
Filter(
GroupBy('MyDataSource', "Column1", "Column2", "Column3","DATA"),
Column2 = "true"
),
"Choice 3",
Filter(
GroupBy('MyDataSource', "Column1", "Column2", "Column3","DATA"),
Column3 = "true"
)
The grouping is done because I have a nested gallery (Gallery2) inside Gallery1. The Items property of my nested gallery is ThisItem.DATA. This works fine so far. My problem is that now I have a second dropdown that also needs to filter Gallery1. I can't figure out how to integrate that filtering into the code that I have now.
Any suggestions would be greatly appreciated!