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: 
fashid
Specialist
Specialist

Issue in calculating last 3 months

Hi,

I have an issue with the following set analysis creatd by me or calculating last 3 months enquiry percentage

=Count({<FYear=,LOCAL_CURRENCY=, fMonth=, CalanderQuarter=,SERVICE_LINE={'EXP','WCM','OM'},CalendarDate ={">=$(today()-90)"}>}  DISTINCT ENQUIRY_ID)

/Sum({<FYear=,LOCAL_CURRENCY=, fMonth=, CalanderQuarter=,SERVICE_LINE={'EXP','WCM','OM'},CalendarDate={">=$(today()-90)"}>}  E.TARGET)

The problem is that this expression does not work

Please help

Regards,

Nadeem

10 Replies
fashid
Specialist
Specialist
Author

Hi Peter,

I used the following expresssion

Count({<DateNum ={">=$(NUM(today())-90)"}>}  ENQUIRY_ID)

So there was just a small problem of selecting the right field i.e DateNum.

Thanks or all your help and pointing in the right direction

Regards,

Nadeem