QoQ Comparison By Week

tobypenn βšͺ️

I can't seem to get the right combination to make this line chart work.

Series 1 = Q1

Series 2 = Q2

Series 3 = Q3

Series 4 = Q4

Line comparison by week (week 1-13ish)

each plot is the count of activities that week

Anyone point me in the right direction?

Best Answer

  • MarkSnodgrass
    MarkSnodgrass Portland, Oregon 🟀
    Accepted Answer

    You can use the QUARTER function to create a beast mode for your series like this:


    You can create another beast mode so that the x-axis always shows 1 - 13-ish for each of the quarters with this:

    WEEKOFYEAR(`datefield`) - ((QUARTER(`datefield`)-1)*13)

    Having said that, you can use period over period charts and change the date range filter to compare to previous quarters. You may want to look into that and see if it can create the visualization you are going for.


  • GrantSmith
    GrantSmith Indiana πŸ”΄

    Hi @tobypenn

    How is your data formatted? You'll likely need it to look like:

    Quarter | Week | Activities

    Q1 | 1 | 500

    Q1 | 2 | 450


    Q4 | 13 | 1000

    You can then use the Week as the x-axis, Activities as your y-axis and Quarter as your series.

  • tobypenn
    tobypenn βšͺ️

    data is formatted as a single line per activity. so a looooong list of activities with dates, unique IDs, descriptions, etc.

  • tobypenn
    tobypenn βšͺ️