Hi @shoaibsam12 ,
Welcome!
Firstly, sorry for the delay. For your next query, you can realize it as below to make it dynamic based on 2nd drop down [" Author", "Client", Country"].
- In your above code, you have selected author column, if you want to make it dynamic based on 2nd drop down [" Author", "Client", Country"], you should add the judgement condition to choose which dynamic column you want to filter.
Because you have 3 dynamic column, I use two judgment condition in my code as below:
Filter(Switch(Dropdown1.Selected.Value,"showDoc",showDoc,"showDoc2",showDoc2,"ShowDoc3",ShowDoc3),If(IsMatch(Dropdown2.Selected.Value,"Client"),StartsWith(Client,TextInput2.Text),If(IsMatch(Dropdown2.Selected.Value,"Country"),StartsWith(Country,TextInput2.Text),StartsWith(Author.DisplayName,TextInput2.Text))))
Here is the result :
When I choose ‘Client’ column, in the textput, it will search it based on ‘Client’, as you see, ‘saf’ is a record in ‘Client’.
Hope it helps!
Thanks,
Arrow