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.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.8K Visualize
- 2.5K Charting
- 731 Beast Mode
- 55 App Studio
- 40 Variables
- 682 Automate
- 175 Apps
- 451 APIs & Domo Developer
- 46 Workflows
- 10 DomoAI
- 35 Predict
- 14 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 122 Manage
- 119 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 107 Community Announcements
- 4.8K Archive