Hi there,
I'm having some issues with I'm hoping someone can help with. I've looked around for solutions but can't quite work out how to integrate them into what I have.
Basically, I have a helpdesk application and need to work out a percentage of tickets closed within two days over a given period.
I have created date and closed date fields within the Sharepoint list, and I've got the following code to create a collection, from this I've counting the number of rows in this collection and then comparing this with total number of tickets for that period. However, the issue I have it that this count includes weekends, so if a ticket was raised on Friday, and closed on Monday, it would not be counted - when it fact it should be. Any ideas on how to solve this would be very much appreciated.
ClearCollect(
ClosedWithinTwoDays_May,
Filter(
<sharepointlistname>,
Created>= DateValue("05/01/2024") && DateDiff(Created, closed_date) <= 2
)
);