Forum Discussion

cristianml's avatar
cristianml
Post Prodigy
6 years ago
Solved

Combine 2 tables - PQ

Hi,

 

I need help with with some work I need to solve. I have a main Table with data that I get this updated using "get data from workbook" cause i use a Macro to put many reports from a folder to a Excel tab. So with this Main table I need to add or concatenate this with a Table that have range of period. The problem is that I don't know how.

 

Main table
StageClient idCSGWorkStart DateTypeProjectionSGAmount
DataDataDataDataDateDataDataDataAmount
DataDataDataDataDateDataDataDataAmount
DataDataDataDataDateDataDataDataAmount

 

Table option 1
Jan-20Feb-20Mar-20Apr-20May-20
CalculationCalculationCalculationCalculationCalculation
CalculationCalculationCalculationCalculationCalculation
CalculationCalculationCalculationCalculationCalculation
CalculationCalculationCalculationCalculationCalculation
CalculationCalculationCalculationCalculationCalculation

 

Table option 2
Jan-20Feb-20Mar-20
September-15Q1FY16
October-15Q1FY16
November-15Q1FY16
December-15Q2FY16

 

 

My result table should be:

 

Result TABLE
StageClient idCSGWorkStart DateTypeProjectionSGAmountJan-20Feb-20Mar-20Apr-20
DataDataDataDataDateDataDataDataAmountCalculationCalculationCalculationCalculation
DataDataDataDataDateDataDataDataAmountCalculationCalculationCalculationCalculation
DataDataDataDataDateDataDataDataAmountCalculationCalculationCalculationCalculation
DataDataDataDataDateDataDataDataAmountCalculationCalculationCalculationCalculation
DataDataDataDataDateDataDataDataAmountCalculationCalculationCalculationCalculation
DataDataDataDataDateDataDataDataAmountCalculationCalculationCalculationCalculation
DataDataDataDataDateDataDataDataAmountCalculationCalculationCalculationCalculation

 

How can I join the information to get this result table ?

 

Thanks !

 

  • Hi cristianml , 

    I think this is hard to achieve this goal, I didn't view any relationship between fisrt two tables , so I think it is hard to merge it or append it. In addition, I also don't know what is your expected output. So if possible could you please inform me more detailed information(such as your expected output and your sample data)? Then I will help you more correctly.

    Please do mask sensitive data before uploading.

    Thanks for your understanding and support.
    Best Regards,
    Zoe Zhi

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

3 Replies

  • dax's avatar
    dax
    Community Support

    Hi cristianml , 

    I think this is hard to achieve this goal, I didn't view any relationship between fisrt two tables , so I think it is hard to merge it or append it. In addition, I also don't know what is your expected output. So if possible could you please inform me more detailed information(such as your expected output and your sample data)? Then I will help you more correctly.

    Please do mask sensitive data before uploading.

    Thanks for your understanding and support.
    Best Regards,
    Zoe Zhi

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.