Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Save $600 on Qlik Connect registration! Sign up by Dec. 6 to get an extra $100 off with code CYBERSAVE: REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
erikzions
Creator
Creator

Set Analysis Sum Across Dimension

I have a table with a date dimension.  I need to sum the previous quarters balance.  I have a field for the previous quarter.  I am having a hard time getting my set analysis to sum a previous date in the current dates dimension.  I have tried many things.  Below are two attempts.  I must be having a brain cramp because I know I have done this before.  Any help?

sum({< [As of Date] = {PreviousQuarter} >} [Balance])

also tried

sum({< [As of Date] = P({< [As of Date] = {'=PreviousQuarter'} >}) >} [Balance])

DatePrevious QuarterBalancePrevious Quarter Balance
Sep 17N/A50N/A

Oct 17

Sep 177575
Nov 17Sep 1710075
Dec 17Sep 1712575
Jan 18Dec 17150125
Feb 18Dec 17175125
10 Replies
Digvijay_Singh

PFA