Hi all,
in my work I'm trying to filter Gallery 1 based on the value on a column of gallery 2
Gallery 2 is selected as follow "Search('leadlist',TextInput2.Text,"client")" and it show all the rows of a SP List where the column Lead Number is duplicated according to the number of product sold.
Gallery 1 must follow these rules.
- if textinput2 is empty must show all the elements of the collection defined through a "Groupby", otherwise it must filter the same collection on the column "Lead Number" based on the output on the column Lead Number.
If(TextInput2.Text = "",AddColumns(GroupBy(collectionLead,"Leadnumber" , "Data"),Filter(AddColumns(GroupBy(collectionLead,"Leadnumber" , "Data"),Leadnumber=Text(Gallery1.Selected.'Lead number')))
Currently if I use this formula it shows me only the first result and not all the results