Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

New Project

Hi everybody!

Today i would ask if you could help me.

I'm starting a project, maybe a bit difficult for me, but not for u! (i will be really greatful if someone could give me some advices)

The project is defined as follows:

I have n firms that could be client or supplier (flag C or S) of n other firms(indicates by Code). I should create all the possible combinations between them.

Key/legend:

a(firm) -->(corresponds) 20(code as supplier);

b --> 21;

c --> 10;

d --> 11;

Table for The Seller

FirmClient/supplierCodeMaterialsAssetsMethod
ac100000011111P
bc112222245454S

Table for The Acquirer (indicates the invert selection: i mean, if Firm a has a client identificated with 10, firm 10(which has an alfanumeric field associated)  should appears in the follows table:

FirmClient/supplierCodeMaterialsAssetsMethod
cs200000011111P
ds212222245454s

Thanks so much in advance. If it is not clear, dont' hesitate to ask informations!

Labels (1)
15 Replies
Not applicable
Author

Hi Singh,

i followed your advices but my problem is to write the code.

I don't know how to join the two tables:

i wrote the follows code:

Directory

Tab_ Supplier

'S' as Supplier,

Supplier_Code,

Supplier_Name,

Supplier_Abbrevation,

Client

from supplier.xls

Directory

Tab_ Client

'C' as Client,

Client_Code,

Client_Name,

Client_Abbrevation,

Supplier

from Client.xls

the problem in now. What i have to write to join the tables?

Thanks for your first answer, and thanks in advance for you attention.

Domenico

Not applicable
Author

HI

ex: u have table1 and table 2 

table1(load table1 here)

join

table2(load table2)

Not applicable
Author

Hi Alkesh,

Thanks in advance for your answer.

If i write the code u shown i received the error that fields must be unique.

Not applicable
Author

thanks for your answer.

What i have to write in order to obtain the results above illustrated?

thanks in advance

Anonymous
Not applicable
Author

Hi Use the below code

This might help u if u didn't get the exact solution post the sample data .....

Tab1:

Tab_ Supplier

'S' as Supplier,

Supplier_Code as CODE_TEST,

Supplier_Name,

Supplier_Abbrevation,

Client

from supplier.xls

Left Join(Tab1)

Tab_ Client

'C' as Client,

Client_Code as  CODE_TEST,

Client_Name,

Client_Abbrevation,

Supplier

from Client.xls

Not applicable
Author

I have this two tables. One about the supplier and the other one of Client.

(the output should be like the table Output (into the sheet supplier)

Supplier.pngClient.png