Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Join two tables

Hi folks,

I'm having problems to join two tables. 

Ex:

I've these table: Project and Reports

Project
abc
def
ghi
jkl
mno
pqr
stu
vwx
yz

 

ProjectDate (DD-MM-YY)Report 01Report 02
ghi01/01/2020YN
jkl01/01/2020YY
mno01/01/2020YY
pqr01/01/2020NY
abc08/01/2020YN
def08/01/2020YY
ghi08/01/2020YY
jkl08/01/2020NY
mno08/01/2020YN
abc15/01/2020YY
def15/01/2020YY
ghi15/01/2020NY
jkl15/01/2020YN
mno15/01/2020YY
pqr15/01/2020YN
stu15/01/2020YY
vwx15/01/2020YY
yz15/01/2020NY

 

And the result I need is 

ProjectDate (DD-MM-YY)Status Report 01Status Report 02
abc01/01/2020Not ReportedNot Reported
def01/01/2020Not ReportedNot Reported
ghi01/01/2020ReportedNot Reported
jkl01/01/2020ReportedReported
mno01/01/2020ReportedReported
pqr01/01/2020Not ReportedReported
stu01/01/2020Not ReportedNot Reported
vwx01/01/2020Not ReportedNot Reported
yz01/01/2020Not ReportedNot Reported
abc08/01/2020ReportedNot Reported
def08/01/2020ReportedReported
ghi08/01/2020ReportedReported
jkl08/01/2020Not ReportedReported
mno08/01/2020ReportedNot Reported
pqr08/01/2020Not ReportedNot Reported
stu08/01/2020Not ReportedNot Reported
vwx08/01/2020Not ReportedNot Reported
yz08/01/2020Not ReportedNot Reported
abc15/01/2020ReportedReported
def15/01/2020ReportedReported
ghi15/01/2020Not ReportedReported
jkl15/01/2020ReportedNot Reported
mno15/01/2020ReportedReported
pqr15/01/2020ReportedNot Reported
stu15/01/2020ReportedReported
vwx15/01/2020ReportedReported
yz15/01/2020Not ReportedReported

 

Could anyone help me?

 

Tks!!!

  • Hi Anonymous 

     

    Probably not the most elegant solution, but it does the job.

     

    Please see the attached.

     

     

    Best Regards,
    Mariusz

    If this post helps, then please consider Accepting it as the solution.

    Please feel free to connect with me.
    LinkedIn

     

2 Replies

  • Mariusz's avatar
    Mariusz
    Community Champion

    Hi Anonymous 

     

    Probably not the most elegant solution, but it does the job.

     

    Please see the attached.

     

     

    Best Regards,
    Mariusz

    If this post helps, then please consider Accepting it as the solution.

    Please feel free to connect with me.
    LinkedIn

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      It works for me!!

      TKS!!!!!!!!