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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
P_Kumar
Contributor III
Contributor III

Rangesum in pivot Table

Hi,

I have attached qvf.  Requirement is to consider sales of last month as a value for this month.  Everything working fine in a Year but when we switch the years, last year's December isn't being carry forwarded as current year Jan value.  Pls advice.  Thanks.

Labels (2)
1 Solution

Accepted Solutions
ryo_okabe
Partner Ambassador
Partner Ambassador

Hi,

Why don't you chenge to following expression?

1.before( total sum(Sales),1)
or
2.Sum(Aggr(Above(total Sum(Sales)),(Year,(NUMERIC,ASCENDING)),(Month,(NUMERIC,ASCENDING))))

View solution in original post

1 Reply
ryo_okabe
Partner Ambassador
Partner Ambassador

Hi,

Why don't you chenge to following expression?

1.before( total sum(Sales),1)
or
2.Sum(Aggr(Above(total Sum(Sales)),(Year,(NUMERIC,ASCENDING)),(Month,(NUMERIC,ASCENDING))))