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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
uko223
Contributor III
Contributor III

Need to create a rolling 4 months based on Variabel

Hi, I need to create a chart that shows a rolling 4 months. However, I am having an issue which I believe is syntax related.

I created a variable which always shows the current fiscal quarter ID, which is currently 71(variable is vCurrentFiscalQuarterId). I want to use set analysis to show the current shipment amounts for each quarter prior to the current one going back one at a time. However, I am having an issue with the set analysis below as it returns null results.

Sum({$<

[Fiscal - Quarter Id]={'=(($(vCurrentFiscalQuarterId)-1)'}

>}[Amount - Shipped/Fulfilled USD])

Any help would be great.

Thanks!

1 Reply