Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to select distinct rows

Hello

i have two tables

A B

1 1

2 2

3 3

B C

1 aaa

2 bbb

2 ccc

3 ddd

In result i need

A B C

1 1 aaa

2 2 bbb

3 3 ddd

1 Solution

Accepted Solutions
manishkumar75
Partner - Creator II
Partner - Creator II

Hi Artur,

Plz see the attached example

Hope it will work.

- Manish

View solution in original post

3 Replies
manishkumar75
Partner - Creator II
Partner - Creator II

Hi Artur,

Plz see the attached example.

Hope it will work.

- Manish

manishkumar75
Partner - Creator II
Partner - Creator II

Hi Artur,

Plz see the attached example

Hope it will work.

- Manish

Not applicable
Author

I looked at attachment.

Thanks it works.

P.S.

You could write it like text

"


MapTable1:
Mapping Load * inline [ B, C
1 , aaa
2 , bbb
2, ccc
3 , ddd];


Table1:
Load * inline [ A, B
1 , 1
2 , 2
3 , 3];
Result:
Load A,B,applymap('MapTable1',B) as C
resident Table1;

drop table Table1;

"