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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
prma7799
Master III
Master III

Need max age

Hi All,

I want max age of the field...

=if(num(num(date(today())- num(BL_DT_VPC)),'####'),(num(num(date(today())- num(BL_DT_VPC)),'####')))

ThanksUntitled.png

Labels (1)
5 Replies
Not applicable

try with age function.

prma7799
Master III
Master III
Author

I got two values using (num(num(date(today())- num(BL_DT_VPC)),'####') )

but I want max of above two values...

kamielrajaram
Creator III
Creator III

Hi Prashanti,

Try

Aggr(max(your formula),Dealership)

Regards

Kamiel

prma7799
Master III
Master III
Author

Dealership is not my dimension I just rename the filed.

when I am using max(num(num(date(today())- num(BL_DT_VPC)),'####') )  

in expression then I get max value..

mambi
Creator III
Creator III

you can use this function FirstSortedValue()