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

Find Min & max Date and show Null

Hi All,

I need the expression for a new field.

if event date is min show only the forecast date which is >event date

if event date is max show only the forecast date which is <event date. and make other dates as Null

Thankyou

Vam

Labels (1)
2 Replies
terezagr
Partner - Creator III
Partner - Creator III

Try this:

if (min(event_date)>event_date, forecast_date,

     if(max(event_date)<event_date,forecast_date, '0'))

Regards,

T.

Not applicable
Author

No Tereza its not working..