Hi all,
I have a Combobox that is a dropdown selection to filter a Gallery, I also have a toggle box that selects regions to filter the Combobox to have less entries - However I just can't get my filter to work.
If(
locationToggle.Value = false,
Filter(
Choices([@Sharepoint_data].Europe),
"Paris" || "London" || "Berlin" in Value
),
locationToggle.Value = true,
Filter(
Choices([@Airbus_Handovers].USA),
"NYC" || "Seattle" || "Chicago" in Value
)
)
It sort of works, but it makes the combo box only have the final city entry, so "Berlin" when the toggle is Europe, and "Chicago" when the toggle is USA, rather than all of them. I'm assuming you cant use an or operator there, but I don't know what syntax to do or where to turn next.
Any help would be much appreciated!