Filter to Last 12 Months (dynamic)
I've got two data sets I am trying to combine in Magic ETL to calculate inventory turns. In the sales data I have 2 1/2 years of history that updates weekly. In the ETL in preparing the sales data I need to filter to just the last 12 months (from last date in the set). Since this last date updates each week I'd like to make this dynamic so each week when more data is availble this ETL moves forward so that the last 12 months (or 52 weeks) is represented in the data.
In the end my calculation is (Last 12 Months of Sales) / Current Inventory Value = Inventory Turns.
Any suggestions on how to take MAX Order Date - 12 Months?
Best Answer
-
I had a meeting yesterday with Ryan Moody and Zack Cameron from Domo and I took the opportunity to ask them for help. They gave me the solution!
In am posting this in case others have the same question.
Here is a short video I put together that provides the solution.
Please hit "LIKE" if you agree using videos like this is a good way to communicate.
7
Answers
-
I had a meeting yesterday with Ryan Moody and Zack Cameron from Domo and I took the opportunity to ask them for help. They gave me the solution!
In am posting this in case others have the same question.
Here is a short video I put together that provides the solution.
Please hit "LIKE" if you agree using videos like this is a good way to communicate.
7 -
Thank you! This is really cool and the video is very helpful
0 -
I absolutely hate videos as a way of communicating. Almost always, I could read an answer faster than I can watch it.
0
Categories
- All Categories
- 1.1K Product Ideas
- 1.1K Ideas Exchange
- 1.2K Connect
- 966 Connectors
- 254 Workbench
- Cloud Amplifier
- 1 Federated
- 2.4K Transform
- 75 SQL DataFlows
- 499 Datasets
- 1.8K Magic ETL
- 2.7K Visualize
- 2.2K Charting
- 360 Beast Mode
- 19 Variables
- 483 Automate
- 101 Apps
- 378 APIs & Domo Developer
- 6 Workflows
- 22 Predict
- 6 Jupyter Workspaces
- 16 R & Python Tiles
- 316 Distribute
- 64 Domo Everywhere
- 252 Scheduled Reports
- 59 Manage
- 59 Governance & Security
- 1 Product Release Questions
- 5K Community Forums
- 37 Getting Started
- 23 Community Member Introductions
- 63 Community Announcements
- 4.8K Archive