How can I add a Week Ending Date to my current Data?

I have a dataset that comes in daily through an email connecter from my ATS. The report is replaced each day with new data. I want to see starts per day, which I can get. I also want to see total starts per week in trends; such as a 13 week trend etc. But my data does not have a week ending date on it.

What is the best way to get week ending data? I was thinking of having a web form which will have week ending dates attached to each start date; such as the start date of 3/7/2025 would have a week ending date of 3/9/2025. Then I could join the two data sets. This would be a lot of work due to I have start dates back to 2014.

Is there an easier way?

Best Answers

  • MichelleH
    MichelleH Coach
    Answer ✓

    @kim_barragan0126 Does it have to be the week end date? There is a beast mode function called YEARWEEK that will return the year and week number of the date field. So if you wanted to create a metric for total starts per week, you could do something like this:

    count(`StartDate`)/count(distinct YEARWEEK(`StartDate`))
    
  • kim_barragan0126
    Answer ✓

    I want show a trend such as the below. Could I do this from the beast mode you suggest?

Answers

  • MichelleH
    MichelleH Coach
    Answer ✓

    @kim_barragan0126 Does it have to be the week end date? There is a beast mode function called YEARWEEK that will return the year and week number of the date field. So if you wanted to create a metric for total starts per week, you could do something like this:

    count(`StartDate`)/count(distinct YEARWEEK(`StartDate`))
    
  • kim_barragan0126
    Answer ✓

    I want show a trend such as the below. Could I do this from the beast mode you suggest?

  • I just tried it and it works great - thank you!