
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
expression to count number of entries per day
Hi,
I have a script that outputs the times an employee swiped per day.
There will be a report that outputs details per day per week.
I am having an issue with writing an expression to count the number of clockings made per particular day.
Using the count function count(fieldname) but Im not sure what to do about the number of entries (clocking times) per user per day? Its the per user per day part that I am struggling with.
Thanks,
Gregg
- « Previous Replies
-
- 1
- 2
- Next Replies »


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Have you tried using Count(FieldName&ClockingTimes)
Celambarasan

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using COUNT(fieldname) but the clocking times are a time - Im not sure how to count these.
Regards,
Gregg


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Sorry Can you tel me little more clear?If possible with some example data.
Celambarasan

.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If you date and Time in the same field, then you can directly get the count by using the expression
=Count(DateFieldName)
If it by day, then use Date(with No Time) as Dimension, if it is by Week then use Week as dimension.
Can you attach sample file.
Regards,
Jagan.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have attached sample output.
I need to count the number of Clockings per day (fieldname = Time)
If I use count function it will give me each entry (1)
I need to count them per (NAME) per day (Date)
There can be several swipes (entries) per day.
I am using straight Table.
Hope this is clearer.
Thanks,
Gregg


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Have Date,Name as dimension
Expression: Count(Name&Date&Timings) which will give you the total swipes.
Celambarasan

.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If I understood correctly, you need number of swipes done by person and by date. If so, then use Date, Name as dimensions, and use the expression below.
=Count(Timings)
The output of the chart would be like this
Date Person # of Swipes
1/1/2012 joe bloggs 2
Hope this helps you.
Regards,
Jagan.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks both for your help.
Both answers work, but I wil need to also display the clockings (TIMES) which is causing my issue I think.
Regards,
Gregg


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Then use expression as
Count(Total<Date,Name> Timings)
Hope it helps
Celambarasan

- « Previous Replies
-
- 1
- 2
- Next Replies »