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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
krissy_s
Contributor III
Contributor III

Date Range in set analysis

I would like to show a list of quote reference numbers (i.e. a dimension) which fall within a specific date range. 

The set expression i have for the date range is:

[Expiry Date]={">=$(=monthstart(Today()))<=$(=monthend(addmonths(today(),2)))"}

But not sure how to write the complete set analysis. Can someone assist please?

 

Many thanks

2 Replies
sunny_talwar

What is wrong with the set analysis? Is it not giving you what you expected from it?

Mauritz_SA
Partner - Specialist
Partner - Specialist

Hi Kristen

Something like following should get you close:

AGGR(ONLY([Expiry Date]={">=$(=monthstart(Today()))<=$(=monthend(addmonths(today(),2)))"} [Quote Reference Number]),[Quote Reference Number])

@sunny_talwar , I think Kristen wants the list of reference numbers which satisfy his condition (i.e. set analysis in a dimension rather than a measure).

Hope it helps.

Regards,

Mauritz