Not sure which join to use
I am trying to link 2 datasets to show scheduled appointments and web traffic in the same visit. The goal is to show what, if any, correlation there may be for traffic to specific ad campaigns and appointments for their related services.
When I use datafusion or etl join, it gets messy because the only matching data I have is dates. So, I end up with something like this:
Date |URL visited | Appointment
1-1-2024|Oncology URL| General Medicine Appt
1-2-2024 | Bariatric URL | Prenatal Appt
So, filtering on one column causes me to lose the data I need for another column
If I filter, then do append rows, I get:
Date |URL visited | Appointment Date| Appointment
1-1-2024|Oncology URL| NULL | NULL
NULL | NULL | 1-1-2024 | Oncology Appointment
I have all the data I need pre-filtered. But, I can't graph by date because I'll lose half the data.
Is there another dataflow type or ETL tile that will allow me to keep all of the data, but have 1 date column?
Best Answer
-
You can rename the fields in MagicETL. You just have 1 date from each datasource right?
So for example, if in Dataset 1 the date name is Date1 and in Dataset 2 the date name is Date2 you could rename the date field in each to be New Date. Then union the data together and Domo will match up the date columns as a single column.
If I solved your problem, please select "yes" above
1
Answers
-
Rename the 2 date fields, or create a new date field, in MagicETL to have the exact same name and then append the data from the two sources. Then you'll have a single date field and wont lose data when filtering.
If I solved your problem, please select "yes" above
0 -
I can't rename the date fields since they come from their respective connectors. I'm trying to create a new date field in MagicETL, but not sure how to get the dates from both columns into one
0 -
You can rename the fields in MagicETL. You just have 1 date from each datasource right?
So for example, if in Dataset 1 the date name is Date1 and in Dataset 2 the date name is Date2 you could rename the date field in each to be New Date. Then union the data together and Domo will match up the date columns as a single column.
If I solved your problem, please select "yes" above
1 -
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