How do I filter duplicative entries when two date fields are involved? (entry & modified dates)

RocketMichael
Greer, South Carolina ⚪️
Hey Domo Smarties!
[Annotated Screen Cap Below]
What's the best way to filter out duplicate rows according to the latest modified date in an ETL?
Desired Result:
One unique entry by "start date" and "model" with the latest "ob modified date".
Tagged:
0
Best Answer
-
Makes total sense. I started to go into group functions and knew the data wouldn't be accurate... and paused. One more step to re-join with the original data will do the trick!
Thanks so much!
0
Answers
-
You could use a Magic ETL 2.0 dataflow and group your data on the start_date, model and inventory_units and select the MAX ob_modified_date then do an inner join from your original input dataset and the output of the group by based on the start_date, model, inventory_units and ob_modified_date.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1
Categories
- 7.3K All Categories
- 13 Getting Started in the Community
- 141 Beastmode & Analytics
- 1.8K Data Platform & Data Science
- 54 Domo Everywhere
- 2K Charting
- 1K Ideas Exchange
- 903 Connectors
- 236 Workbench
- 342 APIs
- 77 Apps
- 19 Governance & Productivity
- 234 Use Cases & Best Practices
- 50 News
- 473 Onboarding
- 572 日本支部