Hi all,
I've looked around a bit for an answer to this one and can't find anything that matches my exact scenario, so I'm wondering if this is possible:
I have a Dataverse table called "Reservations" that I'm showing in a Gallery. I want to use a drop-down on the same page to filter the gallery based on predefined Dataverse views I've created.
I'm able to populate the combo box with the view names (Choices('Reservations (Views)'); however, when I try to use Filter() to compare them, I get a data type mismatch (View vs. ViewValue).
Filter(Reservations, 'Reservations (Views)' = filterReservations.Selected.Value)
If I try to use the property selector on 'Reservations (Views)', I can only select existing views (i.e. "My Reservations).
I know I could probably get around this by just writing a complex Filter statement, but I'd prefer that Dataverse does the work for me. Any ideas?