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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

maximum date

Hi All,

My data looks like this as below.

Customer  ¦  Product number  ¦   Date

A                    222222                    10/11/2011

B                    222222                     11/11/2014

C                    233334                     10/07/2015

D                    233334                      10/08/2014

My output should be like this below.

Customer  ¦  Product number  ¦   Date

B                    222222                     11/11/2014

C                    233334                     10/07/2015

So basically if the same product number then it should display only the latest date with the customer detail. No old record should be shown.

I tried couple of ways using expression but it shows all the records and only highlights the latest one/.

Please advise here.

27 Replies
sunny_talwar

What I don't understand is, what do you mean by search using customer?

Not applicable
Author

Hi Sunny,

This issue  resolved. Your code was very help ful. the question was for another report which has the same kind ..but here 3 tables are involved.. i will try to figure it out else will post a new discussion

sunny_talwar

‌Great, If you got what you were looking for right now... I would suggest closing this thread by marking correct answer and any helpful answers.

Best,

Sunny

Not applicable
Author

how do I do this. where is the option I don't find?

Not applicable
Author

Hi sunny,

Probably you can help me her also.

My scenario looks like this I need to RELATE 3 tables. but it is going to loop.

Table 1:

MAPPING LOAD DISTINCT

Prod Id,

Cust Id

from CustItem Table;

Map:

Load

Id,

few columns....

ApplyMap('Table1', Id) as Cust Id  ---- So here I want to map Id and ProdId together

from Product Table

Now I want to take the output of apply map -- I,e Cust Id to join as automatically based on column as below

Load

Id as Cust Id

few columns

...

..

from Customer Table.

sunny_talwar

Can you share some sample data with your expected output? I don't really understand what you are trying to do here.

Not applicable
Author

hi sunny,

I was able to solve it now.. where should I say this topic is correct? and close it

sunny_talwar

For Correct Answers:

CorrectAnswer.PNG

For Helpful Answers:

HelpfulAnswer.PNG