Hi
Thank you for the pictures.
A couple of things
- To me you have the filter written completely different than what you are saying and there are details you haven't provided.
- You are using OR,s not Ands but you talk as if the things should be and'd together. So is it based on Ors or ands?
- If that is in your items, I don't get what the button does, like exactly.
So the basic path of the logic goes: Click "Show Completed" Button -> Set StageFilt to true -> If StageFilt is true, Filter Gallery by Stage Value = "Completed".
Yeah I am totally lost, you have multiple filters in your items, but here you talk like its a single thing, so again I am not following at all.
To me essentially you wanted
If(!IsBlank(TextBox1), filter with a startswith
and
If!IsBlank(SecondTextBox1), filter with a startswith
and
if Stage = completed
but I see no code that actually updates the Stage to Completed
and even if I did, how does Stages and Features match up. I would expect something like
If(LookUp(Stages, FeatureRequestId = ThisItem.Id).Value = "XXXX")
Sorry I am trying but am lost.