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: 
martynlloyd
Partner - Creator III
Partner - Creator III

Use of Min in calculated dimension

Can anyone tell me why I can't use Min(adate) in a calculated dimension?

='Contract End from ' &  ' ; Contract Types ' & GetFieldSelections([Contract Type])

works fine,

but

='Contract End from ' & min([Contract End]) &  ' ; Contract Types ' & GetFieldSelections([Contract Type])

Does not.

Regards,

M

12 Replies
martynlloyd
Partner - Creator III
Partner - Creator III
Author

It's in the variable overview, but it doesn't change, and has a date of 1899

Community.JPG.jpg

regards,

M.

JonnyPoole
Former Employee
Former Employee

I didn't hear it but i think you are going for a min date across all records in the current selections, not a dimensional mininmum. if that is the case this works in your sample as well:

=date(Min( total EndDate)) 

martynlloyd
Partner - Creator III
Partner - Creator III
Author

Thanks, adding TOTAL solves my original issue as well.

Regards,

M.