Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a table box which gets data from excel file. The columns are
For e.g.:
ID Summary Date
442542 5months 23/09/2008
442542 5months 02/01/2012
How can I get the table box which contains only the values with oldest date. I,e
ID Summary Date
442542 5months 23/09/2008
Thanks.
Min(Date)
UPDATE :
SCRIPT
Temp:
Load * Inline
[
ID, Summary, Date
442542, 5months, 23/09/2008
442542, 5months, 02/01/2012
];
Load
FirstSortedValue(ID, Date) as ID1,
FirstSortedValue(Summary, Date) as Summary1,
FirstSortedValue(Date, Date) as Date1
Resident Temp;
Now create a table box with dimensions
ID1, Summary1 and Date1
Min(Date)
UPDATE :
SCRIPT
Temp:
Load * Inline
[
ID, Summary, Date
442542, 5months, 23/09/2008
442542, 5months, 02/01/2012
];
Load
FirstSortedValue(ID, Date) as ID1,
FirstSortedValue(Summary, Date) as Summary1,
FirstSortedValue(Date, Date) as Date1
Resident Temp;
Now create a table box with dimensions
ID1, Summary1 and Date1
Thanks Manish. How can I give this in table box?
replied as an update
That's super working! Thanks.