I have a gallery that filters on my SharePoint list "List1". In this gallery, I have a label that displays a value from my list "List2". I am trying to create a filter on my gallery, but it does not work. I would like to display the items whose return date will expire in 2 months (or the items whose expiration date has passed) and I would also like (condition or) to display the items whose KM is greater than or equal to 20,000.
Can you help me please?
Immat is a lookup column in my List1.
Filter(
'Liste1';
( ('Date expiration' >= Today() &&
'Date expiration' <= DateAdd(Today(); 60; TimeUnit.Days))
|| ('Date expiration' <= Today() ) ) || (LookUp(
Liste2;
Immat.Value = Immat.Value && KM > 20000;
true
))