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: 
Not applicable

QTD field directly from Quarter

Hi Friends,

I want to create QTD (Quarter Till Date) and PQTD(Previous Quarter Till Date)

directly from Quarter field as Dates not been provided in the applicatin,

The Format for Quarter field is YYYYQ1 eg 201601 Please help me with the variable and expression that I should create.

1 Reply
sunny_talwar

May be this:

Sum({<Quarter = {"$(=Max(Quarter))"}>} Measure)

and for previous quarter

Sum({<Quarter = {"$(=Max(Quarter, 2))"}>} Measure)