Skip to main content
Question

Good day, can someone help me with a component filter if I want to filter on a case count for a certain time for yesterday, for example what is the total cases yesterday at 15:30. Thank you

  • October 15, 2023
  • 2 replies
  • 12 views

denise.kruge12
Level 7
Forum|alt.badge.img+15
Good day, can someone help me with a component filter if I want to filter on a case count for a certain time for yesterday, for example what is the total cases yesterday at 15:30. Thank you

2 replies

Hi Denisa,

 

I am sure there is a better way to go about it but you could try something like:

 

filter TIME("case_table"."case_start_time") = DD.MM.YYYY HH:mm

 

I found this statement in the examples section of the component filter.

 

Regards,

Kashif

 


denise.kruge12
Level 7
Forum|alt.badge.img+15

Thank you Muhammad, I need the formula to update daily so I need to use TODAY()-1 or something like this for yesterday, and not hard coded dates.