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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
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