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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
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)