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
- 10.5K All Categories
- 8 Connect
- 918 Connectors
- 250 Workbench
- 472 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 477 Datasets
- 203 Visualize
- 255 Beast Mode
- 2.1K Charting
- 12 Variables
- 17 Automate
- 354 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 247 Distribute
- 63 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 181 Product Ideas
- 1.2K Ideas Exchange
- 12 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive