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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
alexis
Partner - Specialist
Partner - Specialist

Quick Set Analysis question

In a previous post I asked a fairly difficult to understand question but looking at the question and the responses it occured to me that the problem (and the answer hopefully) are simpler:

I have a variable that contains the following definition:

{$<MonthID = {">=$(=min(MonthID) - 12)"},

Date = {"<$(=Date(MakeDate(Year(Max(Date))-1, Month(Max(Date))+1, 1),'DD/MM/YYYY'))"},

Year = ,

Quarter = ,

Period = ,

[Period (#)] = ,

Month = >}

I need to modify if to:

a) Remove the dependency on Date (line 2)

b) Extend the MonthID line (line1) to also include "< max(MonthID) -11"

Conceptually it will look something like:

{$<MonthID = {">=$(=min(MonthID) - 12)"} and {"<$(=max(MonthID) - 11)"},

Date = ,

Year = ,

Quarter = ,

Period = ,

[Period (#)] = ,

Month = >}


Your help will be very much appreciated.

Best regards

Alexis

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Like this:

MonthID = {">=$(=min(MonthID) - 12)<$(=max(MonthID) - 11)"}


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Like this:

MonthID = {">=$(=min(MonthID) - 12)<$(=max(MonthID) - 11)"}


talk is cheap, supply exceeds demand