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
-
@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`))
0 -
I want show a trend such as the below. Could I do this from the beast mode you suggest?
0
Answers
-
@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`))
0 -
I want show a trend such as the below. Could I do this from the beast mode you suggest?
0 -
I just tried it and it works great - thank you!
0
Categories
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Connect
- 1.3K Connectors
- 309 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 663 Datasets
- 119 SQL DataFlows
- 2.3K Magic ETL
- 823 Beast Mode
- Visualize
- 2.6K Charting
- 86 App Studio
- 46 Variables
- Automate
- 193 Apps
- 483 APIs & Domo Developer
- 87 Workflows
- 23 Code Engine
- AI and Machine Learning
- 23 AI Chat
- 4 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 117 Domo Everywhere
- 283 Scheduled Reports
- 11 Software Integrations
- Manage
- 143 Governance & Security
- 11 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 116 Community Announcements
- 5K Archive