Hi,
I have a problem with my gallery and the function "filter" who help me to find the best recording on my Sharepoint's list.
I create 5 different filters (2 text input, 1 date picker and 2 combobox who used metadata) this filter change my items on my gallery. If all of this field are blank, the gallery return my table "Suivi", if not, it's return just the records with my condition (like Name="TextInputeName.Text". I try different combinations with their fields and I find this way. When my condition of filter take these 2 expressions :
- ComboBox1.Selected.Label in Site.Value
- ComboBox1_1.Selected.Label in Type_x0020_d_x0027__x00e9_v_x00e.Value
my function filter doesn't work. The data of these fields are the 2 metadata.
There is the code of my Gallery Item
If(ChampsSearch=true;Sort(Suivi;Date_x0020_de_x0020_l_x0027__x00;SortOrder.Descending);Filter(Suivi;TextInput1.Text in Nom; TextInput1_1.Text in Pr_x00e9_nom;Text(DatePicker1.SelectedDate;DateTimeFormat.ShortDate;"fr-FR") in Date_x0020_de_x0020_l_x0027__x00;ComboBox1.Selected.Label in Site.Value; ComboBox1_1.Selected.Label in Type_x0020_d_x0027__x00e9_v_x00e.Value))tem
and this second part of code is put on the OnChange of all of my filter fields.
UpdateContext({ChampsSearch:(IsBlank(TextInput1.Text) And IsBlank(TextInput1_1.Text) And IsBlank(DatePicker1.SelectedDate) And IsBlank(ComboBox1.Selected.Label) And IsBlank(ComboBox1_1.Selected.Label))})Ask my if you want other precision on this case, because I don't know why when I put this 2 expressions together it's doesn't work.
Thanks you for reply.