Jump to content
  • 0

Group by TimeStamp


telly

Question

I’m looking to create a report of given table with a timestamp field that should give me Count of records group by Cole_ID and Minute submitted of timestamp field.So for example the following table If same Cole_ID was entered 3 times at same minute, it should give only one record listing the Cole_ID with count 3.

I need a group by query against the entire table, the purpose of this is to see how many records where edited at the same minutes (we are suspecting a system error). How can I accomplish that with Caspio?
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hi,

I have the same workflow like this in my previous application. What I have done is I converted the Timestamp field to remove the seconds in the time format using this formula:

CONVERT(nvarchar(16), Ts, 120)

Then, I use a Pivot table to display and count the number of records with the same time and minute. As well as, group it by the converted timestamp field(formula field).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...