Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! 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)