Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
vipin_mishra479
Creator II
Creator II

Get the value in expression

here i have attached the application and excel file.

I have a Amount by customer

like

Customer , Amount

A ,111

B , 222

C , 333

and here i have create one inline table where i define Group and Stregity

like

Group,Stregity

111,New

222,Middle

333,Old

So final result i want is

Customer  Amount  Stregity

    A             111       New

    B              222      Middle

    C             333       Old

1 Solution

Accepted Solutions
Not applicable

Hi Vipin,

Its a bit strange requirement. But I believe what you want to do is to use the values from two different data island and use it in a straight table.

I have attached one qvw file, please check if it suffice your requirement.

Regards,

Sakir

View solution in original post

35 Replies
arulsettu
Master III
Master III

change inline table like this

LOAD * INLINE [

    Amount, Stregity

    111, New

    222, Middel

    333, Old

    121, Avg

    221, Check

    332, Done

];

it will create relation between two tables

vipin_mishra479
Creator II
Creator II
Author

No we don't link this inline with that table

Anil_Babu_Samineni

Or Try This

Load * inline[

Customer , Amount

A ,111

B , 222

C , 333];

Second:

Load * inline[

Group,Stregity

111,New

222,Middle

333,Old];

Load Group as Amount, Stregity Resident Second; Drop Table Second;

And then use this table box

Hope helpful

OR

Table1:

LOAD * INLINE [

Customer , Amount

A ,111

B , 222

C , 333

];

Table2:

LOAD *, Group as Amount INLINE [

    Group, Stregity

    111, New

    222, Middel

    333, Old

];

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
arulsettu
Master III
Master III

then what is the use of inline table?

vipin_mishra479
Creator II
Creator II
Author

this is just example so that i can writ this way in Actually some of multiple amount i will get this amount so there is no way to link this with inline

And inline is just i want to know what was the stragity for this amount.

Anil_Babu_Samineni

Then share the real sample data, with expected o/p

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
vipin_mishra479
Creator II
Creator II
Author

here i have attached the updated one

vipin_mishra479
Creator II
Creator II
Author

Out put is same

varshavig12
Specialist
Specialist

Give alias name to "Group" as "Amount"