Hi All,
New to outsystems so your need your help,
Can please let me know how to get groub by count through expression..
This is my group by aggregate
I need to show group wise count in below table (e.g. Security Keeper - 4, Team Semicolon: 5 etc.)
Hi Rohit,
You have all the Member count values the same because I see you are referring to a different data source than the Table widget for the MembersCount expression value that is pointing to the first record of the GetTeamsCount Aggregate result set in every table row.
Table Source: GetTeams Aggregate
Members Count Expression: GetTeamsCount Aggregate
As a solution, you define a separate block defining the logic to only show the TeamMemberCount per team and reference the same in the Members column inside the table.
Refer to the attached oml.
I hope this helps you!
Kind regards,
Benjith Sam
Nice man. Block was great Idea, but from where did u get these ideas?
I'm not sure I understand your problem. You already have created the right aggregate. The output of the aggregate is a structure with two attributes, "Name" and "Count" this seems exactly what you want?