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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Max date <= today

Hello

I'm trying to define a variable setting Max date lower than today.

Max date works with this formula

=max({<INFOCUBE={P_ORDR_3}>}  SID_0CALDAY.DATE0)

but I need to add "<= today"

SID_0CALDAY.DATE0 format is dd.mm.yyyy


thanks and regards

Labels (1)
2 Replies
Not applicable
Author

Hi Tamil

thanks but it seems not to work...

If I put expression in a listbox I get '-'

tamilarasu
Champion
Champion

Hi Andrea,


Sorry for the late reply.. It was very hard to type in mobile.

Firstsortedvalue({<INFOCUBE={'P_ORDR_3'},SID_0CALDAY.DATE0={"<=$(=Date(today(),'DD.MM.YYYY'))"}>}SID_0CALDAY.DATE0,-SID_0CALDAY.DATE0)