Filter expression for specific day

Discuss how to create custom stats, reports and HUD profiles and share your creations.

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Filter expression for specific day

Postby BloMur » Tue Mar 11, 2025 11:03 pm

Hey,
Is there filter expression to select only specific days of the month,
lets say I would like to see results only from 1st to 15th day of the month.
BloMur
 
Posts: 60
Joined: Fri Nov 24, 2017 7:47 pm

Re: Filter expression for specific day

Postby Flag_Hippo » Wed Mar 12, 2025 5:32 am

That would be:

Code: Select all
date_played_day < 16
Flag_Hippo
Moderator
 
Posts: 15786
Joined: Tue Jan 31, 2012 7:50 am

Re: Filter expression for specific day

Postby BloMur » Thu Mar 13, 2025 9:32 pm

Is it possible to made someting similar by hours, lets say from 16:00:00 - 16:59:59
BloMur
 
Posts: 60
Joined: Fri Nov 24, 2017 7:47 pm

Re: Filter expression for specific day

Postby Flag_Hippo » Fri Mar 14, 2025 11:08 am

There is a built-in filter for that in 'Game Details -> Dates -> Time of Day'. If you want an expression filter that is:

Code: Select all
(
     TIME '16:00' < TIME '16:59' AND
     (CAST(timezone('UTC', cash_hand_player_statistics.date_played) AS TIME) >= '16:00' AND
     (CAST(timezone('UTC', cash_hand_player_statistics.date_played) AS TIME) < '16:59'))
)
OR
(
     TIME '16:00' >= TIME '16:59' AND
     (CAST(timezone('UTC', cash_hand_player_statistics.date_played) AS TIME) < '16:00' OR
     CAST(timezone('UTC', cash_hand_player_statistics.date_played) AS TIME) >= '16:59'))

There are also 'Cash Hand Time Groupings' and 'Tournament Start Time Groupings' custom reports in the Download Warehouse.
Flag_Hippo
Moderator
 
Posts: 15786
Joined: Tue Jan 31, 2012 7:50 am


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 28 guests

cron
highfalutin