Forum Discussion

ipon70's avatar
ipon70
Helper I
2 years ago

Merging but getting duplicates

I have about 7 queries but I am only trying to get two to work currently.

The first data set is 

KEY     ID          Date

137577  10/10/2023
298745   10/8/2023
387548  10/6/2023
387548  10/7/2023
387548  10/4/2023

 

The second data set is 

KEY    ID           Start of Activity

137577  7:00:00 AM
298745  11:00:00 AM
387548  3:00:00 PM
387548  3:30:00 PM
387548  6:00:00 PM

 

When I combined them I get a duplicate of the times and ID's I only want a row to show like this

KEY    ID           Date               Start of Activity

1        37577    10/10/2023    7:00:00 AM

 

I hope that makes sense, thank you for any help.

3 Replies

    • ipon70's avatar
      ipon70
      Helper I

      I just figured once I had a solution I could just repeat the process and include the rest.  But if there is an easier way, I am all about learning.

    • ipon70's avatar
      ipon70
      Helper I

      I just figured once I had a solution I could just repeat the process and include the rest.  But if there is an easier way, I am all about learning.