2 Different Date Data Sets
I have a problem where I need to match up 2 different data sets to show funnel. Create Date & Demo Date. I need to show this data by week number. A demo date can be weeks after the create date. Here is my example:
Data set 1
Week Create Count
1 10
2 20
Data Set 2
Week Demo Count
1 3
2 8
How can I merge these data sets do I can get matching numbers as shown below:
Week Create Demo
1 10 3
2 20 8
Answers
-
You need to join these two datasets together to make one dataset. The easiest way to do this is with Magic ETL. The below example shows you more than just joining, but the idea is that you can use the join tile to join your two datasets together. You would join on week. You might want to review this KB article to better understand the different types of joins if you are unfamiliar with the concept.
**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.0 -
Hi @Grecs5
alternatively you can use a data set view to join your two datasets together.
another option to think about might be instead of joining your data together you UNION / stack your data together such that you have
TYPE | WEEK | COUNT
Demo | 1 | 3
Create | 1 | 10
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1 -
Sorry @GrantSmith and @MarkSnodgrass hard disagree.
Don't JOIN the data. APPEND them.
If you get to the point where you have multiple rows per week OR if dataset 1 is at a different granularity than dataset2 then you end up with row growth (because you're JOINING) and you have to crazy math to 'SUM DISTINCT).
1) add a constant "Activity Type" to each dataset so you know what type of metric you're dealing with
2) duplicate the date column and call it "Activity Date" for both datasets. (then use Activity Date in Analyzer).
3) UNION the data
Jae Wilson
Check out my 🎥 Domo Training YouTube Channel 👨💻
**Say "Thanks" by clicking the ❤️ in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"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
- 737 Beast Mode
- 56 App Studio
- 40 Variables
- 684 Automate
- 176 Apps
- 452 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
- 123 Manage
- 120 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive