Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Loop in

Hello Team,

As a new to Qlikview, need help on the implement the below scenarion.

Need to lookup from the Inline Load and update the values in the Qlikview Table Box (Value to be derived).

Below the example

     

Table 1Table2:Inline Load
LookupValue to derivedItemsCost
A10A10
B20B20
C30C30
A10
B20
C30
A10
B20
C30
4 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

There should be no loop required. Just load both tables with a field named Item.

QV's associative logic will automatically join the values together.

-Rob

its_anandrjs

Try to load this ways and rename field Items to Lookup for association

Table_1:

Load * Inline

[

Lookup, Value to derived

A, 10

B, 20

C, 30

A, 10

B, 20

C, 30

A, 10

B, 20

C, 30

];

Table2:

LOAD  Items as Lookup,Cost;

LOAD * Inline

[

Items, Cost

A, 10

B, 20

C, 30

];

OP2.PNG

Anonymous
Not applicable
Author

Thanks verymuch

enricohdi2
Contributor
Contributor

UNQUALIFY '*';

Table_1:

Load * Inline

[

order, Lookup, Value_to_derived

1, A, 10

2, B, 20

3, C, 30

4, A, 10

5, B, 20

6, C, 30

7, A, 10

8, B, 20

9, C, 30

];

Table2:

NoConcatenate

LOAD Distinct 

Lookup as Items,

Value_to_derived as Cost

Resident Table_1;