Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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!

15 Replies
preminqlik
Specialist II
Specialist II

not clear....post output sample

Not applicable
Author

Can you be more specific with what your problem is? 

Not applicable
Author

I need as Output, two tables.

The first should describe the transaction from the point of view of a SELLER.

The second table, the situation of the ACQUIRER.

I need to give an interpretation about:

-reading the first table, i should be able to say: a is the supplier of the firm with code 10 with an amount of ....(raw materials, assets, goods...)

-reading the second table, i have to say the opposite relation: the firm with code 10 (firm c) is client of the firm with code 20.

The input file is an excel file with the firm (a,b,c) and a corresponding code(that i need in the second table).

Not applicable
Author

I need as Output, two tables.

The first should describe the transaction from the point of view of a SELLER.

The second table, the situation of the ACQUIRER.

I need to give an interpretation about:

-reading the first table, i should be able to say: a is the supplier of the firm with code 10 with an amount of ....(raw materials, assets, goods...)

-reading the second table, i have to say the opposite relation: the firm with code 10 (firm c) is client of the firm with code 20.

The input file is an excel file with the firm (a,b,c) and a corresponding code(that i need in the second table).

Anonymous
Not applicable
Author

Elaborate  more...

Not applicable
Author

ok well,

let's make an example:

Supplier Table:

Supplier_codeSupplier_NameSupplier_abbreviationClient
31DogD_50Cat
45FoxF_41Bear
...........

Client Table:

Client_codeClient_NameClient_abbreviationSupplier
65CatC_90Dog
35BearG_12Shark
...........


these are my two input file.

My output should be able to show a table like that (one table or two tables, it doesnt' matter)

CodeS/CCode_
D_50C (indicates that 31 has a client)65
F_41C35
C_90S (indicates that 65 has a supplier-->31

the first row means that:

D_50 has 65 as client (C) Cat (where 65 indicates (check in Client Table) );

the second row:

Fox has 35 as client (thus, Fox has Bear as client). I need to create that relation.

Third row:

Cat has a supplier (S) named 31 (that represents DOG)

I have to show the follows fields:

for suppliers:

Supplier_abbreviationS/CClient_code
C
C

for client:

Client_abbreviationS/CSupplier_code
S
S
preminqlik
Specialist II
Specialist II

go explanation ..will do in free time and update you

Not applicable
Author


I think you need play around with JOINS and then concatenation of the data.

1st step: JOIN Supplier Table and Client Table based on columns Client and Client_Name resp. and a Flag as 'Client' or 'C' while Loading data.

2nd step: JOIN Supplier Table and Client Table based on columns Supplier_Name and Supplier resp. and a Flag as 'Supplier' or 'S' while Loading data.

And then concatenate the result if you need one single table.

Hope this was helpful.

Thanks,

Singh

alkesh_sharma
Creator III
Creator III

NEW Table

Load Supplier_Code AS CODE

Supplier_Name

Supplier_apprevation AS CODE

Client

'S' AS S/C

From Supplier

CONCATENATE(NEW TABLE)

Load Supplier_Code AS CODE

Supplier_Name

Supplier_apprevation AS CODE

Client

'C' AS S/C

From Client

This will create one table Named New Table

If you want to create two tables: Replace concatenate with no concatenate

Hope this helps!