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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Show only last 4 quarters in pivot table

Hi All,

I need to show only last 4 quarters in pivot table

here in this scenario from 2011Q4 to 2012Q3

Capture2.JPG

Please find attached QVW

3 Replies
sujeetsingh
Master III
Master III

Tru to use the sttraught table and use option dimension limit in properties...and then set the restrictions and see whether working or not..

kumarnatarajan
Partner - Specialist
Partner - Specialist

Hi,

Please find the attached file

Thanks & regards,

Kumar N

jagan
Partner - Champion III
Partner - Champion III

Hi Ganesh,

Try this expression

2011Q4 - 2012Q3  = Sum({<BilledDate={'>=$(=QuarterStart(Max(BilledDate), -4))<=$(=QuarterEnd(Max(BilledDate), -1))}>} Sales)

Hope this helps you.

Regards,

Jagan.