Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Xabinav
Creator
Creator

Help create a complex summary table for an accountant

Hello friends, I need your help to create a table in a special structure for accounting.

I have 2 tables as in the example:

Deal:

DealIDDateRevenue
10001/01/20201,000

 

Invoice:

Inv_IDNameDealIDInv_DateInv_Amount
1INV110002/01/2020200
2INV210001/02/2020500
3INV310001/03/2020300

 

************************************************************************************

Expected Form:

I'm trying to get to the table in this structure from 2 tables above...

IDNameDealIDInv_AmountUninvoiced_AmountInv_Date

S-0

S0

100

0

1,000

01/01/2020

1

INV1

100

200

0

02/01/2020

S-1

S1

100

0

-1,000

02/01/2020

S-2

S2

100

0

800

02/01/2020

2

INV2

100

500

0

01/02/2020

S-3

S3

100

0

-800

01/02/2020

S-4

S4

100

0

300

01/02/2020

3

INV3

100

300

0

01/03/2020

S-5

S5

100

0

-300

01/03/2020

S-6

S6

100

0

0

01/03/2020

 

I would greatly appreciate your help, thank you

Labels (4)
3 Replies
Xabinav
Creator
Creator
Author

...

ArnadoSandoval
Specialist II
Specialist II

Hi @Xabinav 

You have to elaborate more about your expected result; the tables Deal and Invoice are associated by the DealID; the fields from these two tables does not contains the fields: ID and Uninvoiced_Amount, also the result table several records you do not explain where do they come from, you provided not enough information to assist you.

hope this helps

Arnaldo Sandoval
A journey of a thousand miles begins with a single step.
Ksrinivasan
Specialist
Specialist

hi,

i have try my level best, i have created in horizontal

Ksrinivasan_0-1612780128367.png

ksrinivasan.