where pkg means app that users user, time means different times in day, h_act means how many users in one time, d_act means how many users in one day.
Is that possiable for me to gourp the data by pkg and time and get sumed distinct value of d_act and as i choose different pkg, the value can change automatically?