I need to show the number of distinct customers per day, but by time (cutoff time), that is, if it is 8am, I need to show all the bars from the previous days according to the 8am time, if it is 12pm, I need to show all the bars from previous days until 12pm.
In this case i suggest creating a calculated field with this time bucket… Quicksight supports day, hour, minutes but any custom groupings like this - but it could be done with a calc field.
What i meant was to create a calculated field for the date.
Newdatetime - I misunderstood the need here. Seems like the date/time needs to be recalculated based on the current time to look at the last 24hours. I would a. set time zone to the desired time zone and b. create a calculated field to subtract current hour from the hour in your data, then round to the day level. something like this.
I thought about bringing the date and time of the record and creating time range directly in the query, so in quick sight it would be easier, do you agree?