Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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

35 Replies
kumarkp412
Creator II
Creator II

Hi Arul,

Just try this.

You can make it just rename the Group name into Amount .Then if you are using default association it will take the Stregity values into ur first table.


Thanks

Kumar

vipin_mishra479
Creator II
Creator II
Author

no its not possible above i have attached the new application

arulsettu
Master III
Master III

varshavig12
Specialist
Specialist

eg: output :

JPwest33New
Chanty4u
MVP
MVP

try below script

t1:

LOAD * INLINE [

    Customer, Amount

    A, 111

    B, 222

    C, 333

    ];

LOAD *, Amount as Group

Resident t1;

LOAD * INLINE [

    Group, Stregity

    111, New

    222, Middle

    333, Old

];

dnt.PNG

varshavig12
Specialist
Specialist

Can you please update the output as per the new data ?

susovan
Partner - Specialist
Partner - Specialist

Hi Vipin,

You can also try this process

Table1:

LOAD Customer,

     Amount as Group

FROM

[Example Test.xlsx]

(ooxml, embedded labels, table is Sheet1);

Left Join

Table2:

LOAD * INLINE [

    Group, Stregity

    111, New

    222, Middel

    333, Old

    121, Avg

    221, Check

    332, Done

];

Warm Regards,
Susovan
vipin_mishra479
Creator II
Creator II
Author

Please check my second attached file is t the posible that with out link this will be posible

varshavig12
Specialist
Specialist

Do you mean that you want to fetch data from different without using join (without link) ?

vipin_mishra479
Creator II
Creator II
Author

yes i don't want to join i don't want to link but due to how i want this in my chart