I need some help getting the right combination of code across screen for a combination of filter controls to work with a gallery.
History:
1. Built screen and gallery- all good
2. Added search Text Input box and updated Gallery code:
Search('Work Tracker', SearchInput1_1.Text, "hh") where 'Work Tracker' = SP List source, and "hh" is column name for title of work.
All works fine on the search
3. Added dropdown with following code:
Distinct('Work Tracker','Deputy Director'.DisplayName) where Deputy Director is email address from a Person Column type
4. Updated Gallery code:
Search(
Filter('Work Tracker', 'Deputy Director' = Dropdown1.Selected.Value),
SearchInput1_1.Text, "hh"
)
Stopped working.
Even in dev, values for items in labels etc displaying info has disappeared and nothing showing on preview and search and dropdown box not working.
The labels etc generally use 'ThisItem' to display text egThisItem.'Title of Work'
I am guessing I have missed something on the Gallery set up but am stumped. I'll also need to add another 2 filters as well as the search and drop down.
Thanks