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: 
Andrew_Maynard1
Contributor
Contributor

Choose Specific rows of data.

I have a data set with a PolicyNumber & Date columns (+other columns). I want to filter to 1 line per Policy Number & the most recent Date. (essentially a DISTINCT[PolicyNumber] by Max(Date)). How can I do this in QlikView ?

Where would be a good place to learn more about basic filtering & aggregation of data tables in qlikview ?

 

 

Labels (2)
1 Reply
BrunPierre
Partner - Master
Partner - Master

Hi, something like this?

tmpBaseData:
LOAD * FROM SouceTable;

Noconcatenate
FinalTable:
LOAD DISTINCT [PolicyNumber] as [PolicyNumber],
     Max(Date) as Date,
     Column1,
     Column2,
     Column3

Resident tmpBaseData
Group By [PolicyNumber], Column1, Column2, Column3;

DROP Table tmpBaseData;