Skip to main content
Committed ⭐️⭐️⭐️
March 5, 2025
Question

Aggregation

  • March 5, 2025
  • 1 reply
  • 45 views

type FTAC_ActivityLog {
  Site: String
  AddDate: Date
  ActionComments: String
  VersionNumber: Int64
  UserComments: String
  Label: String
  AssetId: String
  ActivityDate: Date
  Action: Int64
  ActivityLogId: String
  SortOrderId: Int64
  User: String
  VersionId: String
  AssetPathId: String
}

I have a mode as above

I want to do the aggregation function for the user per site statistic. how do I prepare my aggregation query, I am new bee for this, by looking for the https://docs.cognite.com/cdf/dm/dm_graphql/dm_graphql_querying aggregation section, quite confuse.

1 reply

Committed ⭐️⭐️⭐️
March 5, 2025

This has been solved by using the graphQL explorer.