Skip to main content

Hi all, I need to filter some instances occurred on sunday and on holiday. Is there a PQL function that can help me out?

Something like this:

CASE WHEN DAY_OF_THE_WEEK("EVENTTIME") = 'Sunday' or HOLIDAY("EVENTTIME") = 1 THEN "ID" ELSE NULL END

 

Thanks!

 

EDIT: Solved the day of the week part, still missing the holiday one

To know the day of week:

 

https://docs.celonis.com/en/day_of_week.html

 

To check in a Calendar I guess:

https://docs.celonis.com/en/in_calendar.html

 

and maybe some others, depending the specifics.

 

HTH


Reply