Hello Community,
I have a function like this:
CountIf(IncidentsTable;'DateStarted'>=DateAdd(Today();-30;Days) && (Filter(colPlant.Value;Value = "35"))
I want to count how many records are in collection colPlant with value 35 (i've made a collection because this is a multichoice) with DateStarted in last 30 days.
There's my function for creating colPlant:
Clear(colPlant);;ForAll(colMultiPlant;Collect(colPlant;Filter(Choices(IncidentsTable.Plant);Value in Plant.Value).Value))
Can someone explain me why this isn't working?