In the report designer how do you group data based on time interval? I would like to make selectable criteria based on the “DownTime Start” column, so I can say I need this date (or date range) and also this shift (or time range)
,CONVERT(VARCHAR,(b.t_stamp - (convert(char(8),dateadd(ss, b.Uptime,0),108))),101) as StartDownTimegroup
I am just wanting to return the month/day/year so we can group that.
Then in the report designer, then add the new key ‘StartDownTimegroup’ to the grouping. Check Header. Make sure it is the top Grouping Key. Click the grey square next to it to add a top page icon. Here is a pic.