Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
santhosh_k_n
Creator II
Creator II

Date to be presented on max date of the month

Hi all,

I need to restrict data in column 2 based on the column 1 and max of the dates.

For eg: i am having data follwws

Codesub codedatevalue
Code1SC101/01/14100
Code1SC201/21/14101
Code1SC302/22/14102
Code1SC403/23/14103
Code2SC501/14/14104
Code2SC601/14/14105
Code2SC702/20/14106
Code2SC803/23/14107
Code2SC903/23/14108
Code2SC1003/23/14109
Code2SC1106/05/14110
Code2SC1206/05/14111
Code2SC1306/05/14112
Code2SC1407/07/14113
Code3SC1501/14/14114
Code3SC1602/20/14115
Code3SC1703/23/14116
Code3SC1806/05/14117
Code3SC1907/07/14118
Code4SC2001/14/14119
Code4SC2102/20/14120
Code4SC2203/23/14121
Code4SC2306/05/14122
Code4SC2407/07/14123
Code4SC2504/04/14124
Code4SC2604/23/14125


now i need to present  the  data in report in such may that i should show dist 'Code' for max date on the month and the match sub code.

In above example, if date is filterd to feb 26, then the data to be presented as below,


Codesub codedatevalue
Code1SC302/22/14102
Code2SC702/20/14106
Code3SC1602/20/14115
Code4SC2102/20/14120


and if the date is filtered to 25 th Apr,


Codesub codedatevalue
Code1SC403/23/14103
Code2SC803/23/14107
Code2SC903/23/14108
Code2SC1003/23/14109
Code3SC1703/23/14116
Code4SC2604/23/14

125



and so on.


Please guide me to get this done


Regards,

Santhosh

1 Solution

Accepted Solutions
Not applicable

Attached with answer.

I created an input box where you can enter the required date(MM/DD/YYYY) and the table below will filter the data accordingly, as per your above mentioned requirement.

Thanks

AJ

View solution in original post

1 Reply
Not applicable

Attached with answer.

I created an input box where you can enter the required date(MM/DD/YYYY) and the table below will filter the data accordingly, as per your above mentioned requirement.

Thanks

AJ