How can I count posts in last month by a specific group of users?

Do you have any query for Data explorer?
I need to calculate the impact of my ambassador group

Is this close?

That one doesn’t allow you to specify the group id as a parameter

3 Likes

Yes man, how can I filter for group_id?

I think a JOIN with the group_users table ON user_id WHERE group_id should do it.

group_users
id    serial    primary key 
group_id    integer    fkey groups 
user_id    integer    fkey users 
created_at    timestamp 
updated_at    timestamp 
owner    boolean    default false 
notification_level    integer    default 2 
5 Likes