I have a button in Screen1 and by pressing the button I want to filter a gallery in Screen2 by the value "Overdue" in column Status.
OnSelect: Navigate('Gallery') ;; UpdateContext({var:{Status:"Overdue"}})
The gallery items property is as follows:
Items: With({_items: Filter('SPL name'; ComboBox1.Selected.Value="Choose all" || Progress in ComboBox1.SelectedItems)};
Sort(Search(AddColumns(_items; "Column1"; Status); Searchfunction.Text; "Title"; "Number"; "Column1"); Descending))
How can I make the filter work and how to integrate the variable var in the Items property?