Hi,
I'm working on a report with CR8 dev that should display a chart showing the total records in a table during a day in hourly intervals (i.e. in the y-axis there should be the count of records of the day and in the x-axis there should be the day in hour intervals from 0 to 23) for each user.
I have made formulas to return the total records for each hour i.e. a formula that counts records that were entered the first hour of the day (00:00:00 to 00:59:59) and so on for the other hours.
this is the code for the formula:
if (time({MyTable.Record_TIME}) >= time(00,00,00)) and
(time({MyTable.Record_TIME}) <= time(00,59,59)) then 1 else 0
this formula is than summerized to bring the total sum of events in the specified hour.
Now what i'm finding difficulty to do is to implement all this in a line chart...
How can i make it in one line series to show the daily number of records of a user? When i tried using the time field and group it on the hour the line showed ok except for the fact that the chart did not display a 0 for the hours in which no records where created.
Please let me know if you can help!
P.S. If you find that my explanation is not very clear please ask for more details...
I'm working on a report with CR8 dev that should display a chart showing the total records in a table during a day in hourly intervals (i.e. in the y-axis there should be the count of records of the day and in the x-axis there should be the day in hour intervals from 0 to 23) for each user.
I have made formulas to return the total records for each hour i.e. a formula that counts records that were entered the first hour of the day (00:00:00 to 00:59:59) and so on for the other hours.
this is the code for the formula:
if (time({MyTable.Record_TIME}) >= time(00,00,00)) and
(time({MyTable.Record_TIME}) <= time(00,59,59)) then 1 else 0
this formula is than summerized to bring the total sum of events in the specified hour.
Now what i'm finding difficulty to do is to implement all this in a line chart...
How can i make it in one line series to show the daily number of records of a user? When i tried using the time field and group it on the hour the line showed ok except for the fact that the chart did not display a 0 for the hours in which no records where created.
Please let me know if you can help!
P.S. If you find that my explanation is not very clear please ask for more details...