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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Regarding Quarter comparision

Hello Friends,

I appreciate your time.

I am looking for some help with quarter comparison.

I need to compare current quarter sales vs last year quarter(Same period) . Could you kindly share your ideas!

Thank you!

Kiruthiga

Labels (1)
2 Replies
neelamsaroha157
Specialist II
Specialist II

You can create two variables fro your current & previous Quarter and use them in set analysis.

Assuming that your Quarter Field format is [Quarter Year]

CurrQuarter  = quartername(Max(Date))

PreQuarter =   QuarterName(quartername(Max(Date)), -1)

neelamsaroha157
Specialist II
Specialist II

Sorry

PreQuarter =   QuarterName(quartername(Max(Date)), -1)  will give you last Quarter.

Change it to -- PreQuarter =   QuarterName(quartername(Max(Date)), -4)