Switch
or If
logic directly in Filter
.With(
{
_Data:
Switch(
varRegion,
"Region1",
Filter(
List1,
field1 = var1 && field2 = var2
),
"Region2",
Filter(
List2,
field1 = var1 && field2 = var2
),
"Region3",
Filter(
List3,
field1 = var1 && field2 = var2
),
"Region4",
Filter(
List4,
field1 = var1 && field2 = var2
)
),
CountRows(_Data)
)
)
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.