Re: Help to get number of items in a list!
Hi @SpDev,
I did a test on my side, it seems that it can't use Calculate column in Filter Query.
Maybe you could consider using variables to implement the requirements, initialize a variable of type Integer
Use the value of the week number in the trigger to compare with the week number of all items in the list. If they are equal, the variable is incremented by one.
Finally, compare the value of the variable to greater than 5. If it is greater than 5, delete the item you just created.
Image reference:



Please take a try and let me know if you have any question.
Best Regards,
Barry