Forum Discussion

VI_Migration's avatar
VI_Migration
Silver Contributor
Nov 09, 2021
Solved

Building queries - Monthly or weekly?

Hi all,  With regards to building a Standard Person Query over an extended period, eg. 24 months - can anyone provide some advice with regards to grouping metrics weekly or monthly? I'm asking simpl...
  • luhogner's avatar
    Nov 10, 2021

    Hi Dazza,

    This is a great question and one that does not have a one-size-fits-all answer. Here are some thoughts that might help make the right choice. When you run a person query, you can chose to aggregate metrics on a daily, weekly, and monthly basis. If you select daily, the output of the query will have one row per person per day, if you select weekly, there will be one row per person per week, and if you select monthly, there will be one row per person per month. If your goal is to reduce the size of the dataset, you should go with monthly.

    Your "group by" selection will also depend on the goal of your analysis. Does a monthly aggregation provide you with the right granularity to accomplish your goals? You might also want to consider interpretability of the insights you'll generate with your analysis. Based on my experience, most people find it hard to relate to metrics aggregated on a monthly level, and find it easier to understand weekly metrics. How would you react if I told you that you spend 78 hours a month in meetings vs if I told you you spend an average of 18 hours per week?

    I hope this helps!

Resources