group by dates

  

Hello guys,


I have some questions on how to group an aggregate. Because we're not able to list all the notifications that occur on the same day. Attached I leave some pictures trying to explain what I pretend.

For example, as it is in the image, the two notifications of day 26 should be grouped.



I pretend something like this:


Thank you guys!

Solution

Hi Rui,

To do that, the simplest way is:

  • You should have an aggregate grouped by just the dates.
  • That aggregate will be the source of a ListRecord.
  • Inside the ListRecord you have a WebBlock with the current date from the List as input parameter.
  • In the WebBlock you will do an aggregate that will fetch the data for that date and use a ListRecord/TableRecords to display it.

Cheers,

José

Solution