hi, i have a problem with the code where there are two lookup functions. When i remove:
DATE >= DateValue1.SelectedDate,
NID = "pla"
and in the second lookup
LID = "A"
The formula works for some cases, but I need these conditions.
With(
{
varID: LookUp(
Filter(
TABLE,
AID = "aab",
DATE >= DateValue1.SelectedDate,
NID = "pla"
),
ITEMID = DataCardValue3.Text,
ID
)
},
LookUp(
Filter(
TABLE2,
AID = "aab",
LID = "A"
),
PDID = varID,
IID
)
)
I think that problem is in a DateValue1.SelectedDate, because in the database, a column with date have a dd.mm.yyyy format. And DateValue1.SelectedDate return date in dd/mm/yyyy format.