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

Pick up latest else pick up second level data

Dear All,

Here is the attached excel file and output in other sheet, i got the solution in some manner but i feel that is not right method and anyone let us know the better script.

Regards

Ravi.

Labels (1)
2 Replies
lironbaram
Partner - Master III
Partner - Master III

hei

try this one

i think it what you want

Not applicable
Author

Hi, Thanks for your reply, But as compared to ur solution mine is little bit better.

Load


MinString(ID&TYPE) As KEY,
MinString(ID&TYPE) As KEY1
FROM
[..\..\..\..\\Test.xlsx]
(
ooxml, embedded labels, table is Sheet1) Where TYPE ='1' OR TYPE ='2' Group By ID;

Inner Join

Load
ID&TYPE As KEY1,
ID,
TYPE,
SALARY
FROM
[..\..\..\..\\Test.xlsx]
(
ooxml, embedded labels, table is Sheet1) ;

Regards,Ravi