I want that if nothing is selected in both ComboBox it show every line of my Table. And if we add selection of ComboBox only the line where thos informations appear.
I have two prototype of code to put in the item section of the Gallery here but none of them work :
1 :
If(
IsBlank(ComboBox1.SelectedItems) && IsBlank(ComboBox3.SelectedItems);
'APOLLON_2025_BOOKING TS';
If(
!IsBlank(ComboBox1.SelectedItems) && !IsBlank(ComboBox3.SelectedItems);
Filter(
'APOLLON_2025_BOOKING TS';
WEEK in ForAll(ComboBox1.SelectedItems; Value) &&
NAME in ForAll(ComboBox3.SelectedItems; Value)
);
If(
!IsBlank(ComboBox1.SelectedItems);
Filter(
'APOLLON_2025_BOOKING TS';
WEEK in ForAll(ComboBox1.SelectedItems; Value)
);
Filter(
'APOLLON_2025_BOOKING TS';
NAME in ForAll(ComboBox3.SelectedItems; Value)
)
)
)
)
If(
IsBlank(ComboBox1.SelectedItems) && IsBlank(ComboBox3.SelectedItems);
'APOLLON_2025_BOOKING TS',
If(
!IsBlank(ComboBox1.SelectedItems) && !IsBlank(ComboBox3.SelectedItems),
Filter(
'APOLLON_2025_BOOKING TS',
WEEK in ForAll(ComboBox1.SelectedItems, Value) &&
NAME in ForAll(ComboBox3.SelectedItems, Value)
),
If(
!IsBlank(ComboBox1.SelectedItems),
Filter(
'APOLLON_2025_BOOKING TS',
WEEK in ForAll(ComboBox1.SelectedItems, Value)
),
Filter(
'APOLLON_2025_BOOKING TS',
NAME in ForAll(ComboBox3.SelectedItems, Value)
)
)
)
)
2 :
Filter(
'APOLLON_2025_BOOKING TS';
(IsBlank(ComboBox1.SelectedItems) || WEEK in ForAll(ComboBox1.SelectedItems; Value)) &&
(IsBlank(ComboBox3.SelectedItems) || NAME in ForAll(ComboBox3.SelectedItems; Value))
)
I stay available if you need more informations and thanks if you try help me find this solution