ETL to Track Weekly Contracts
I'm trying to connect two datasets to track contract fills per week.
The screenshot is from one of the two datasets and it includes the contracted amounts of each commodity and the Start/End dates of the contract.
The second dataset has data pertaining to the amount of cases actually received per day (which I have converted to show as totals in relation to the corresponding week #)
What i'd like to know is if there is a way reference the Start and End Week columns in the first dataset to correspond with the totals from the second dataset, or if i'll need to convert those columns to each induvial week in that range manually. I'm trying to keep Dataset One as compressed as possible row wise to allow for subsequent contracts to be added as the months/years go on.
Best Answer
-
Hmmm if you are doing a join based on the start and end dates, I think that may cause some issues. But if you just want a formula to check to see if a date is within the range you could use the formula tile and do something like:
CASE WHEN `date` >= `Start Date` AND `date` <= `End Date` THEN 'Within Range' ELSE 'Not Within Range' ENDIf I solved your problem, please select "yes" above
0
Answers
-
Not sure I understand what you are trying to do. Could you perhaps provide a sample data table of what you would hope the output would look like and identify which columns are from which dataset? Sample data from both datasets would be helpful as well.
If I solved your problem, please select "yes" above
0 -
@ColemenWilson Ya i think I complicated it with my long winded description. I just want to know if there is a calculated field I can make where Domo will recognize all of the dates that occur between the "Start and End Week" column dates so I can pull out Week #s to compare to. OR, will I need to take those columns and make a row for every Week # instead.
The pictured data set is of an Excel pull with all of the contract data so I was wanting to keep that workbook's setup as simplified as possible to allow for additional contract data as the months/years go on.
0 -
Hmmm if you are doing a join based on the start and end dates, I think that may cause some issues. But if you just want a formula to check to see if a date is within the range you could use the formula tile and do something like:
CASE WHEN `date` >= `Start Date` AND `date` <= `End Date` THEN 'Within Range' ELSE 'Not Within Range' ENDIf I solved your problem, please select "yes" above
0 -
@ColemenWilson Thank You.
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive