Aggregation of data model

Can we query (perform aggregation) on data being returned by a expression/CDT(Querr Rule)

  Discussion posts and replies are publicly visible

Parents
  • You can use a!queryEntity to query the data. The query parameter of that function can be passed query aggregations to perform. QueryEntity performs better than query rules and allows for easy paging of retrieved data as well. Read up on the linked documentation to receive all the information you should need to use the function properly.

     

    If you are trying to perform aggregation on data that is not queried from the database, I believe you would have to write your own custom expression rules to do that unless there is a plug-in that fulfills that purpose.

Reply
  • You can use a!queryEntity to query the data. The query parameter of that function can be passed query aggregations to perform. QueryEntity performs better than query rules and allows for easy paging of retrieved data as well. Read up on the linked documentation to receive all the information you should need to use the function properly.

     

    If you are trying to perform aggregation on data that is not queried from the database, I believe you would have to write your own custom expression rules to do that unless there is a plug-in that fulfills that purpose.

Children