Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
ttollin11
Contributor III
Contributor III

Set Analysis - What is causing this behavior; how to fix?

I need to use a previous quarter expression in order to build a qtr over qtr change function. I have this previous quarter expression as:

=sum({<[Record Date] = P([Previous Quarter End]), [Deposit Month], [Deposit Quarter], [Deposit Year]>} [Current Balance Amount])

where

[Previous Quarter End] = MonthStart(QuarterStart(TempDate) - 1)

When I bring these (and other columns) into my chart to test, I get the following result:

%DepositFact_PK =[Record Date] =RecordYYYYMM =[Current Balance Amount] =[Previous Quarter End] [Interest Bearing Account] Net Trans Amt Previous Qtr Bal Q o Q Change
11/1/2017 201711 9/1/2017 $2528811.11  
201709|10001 $125.75 
201709|10002 $400.50 
201709|10003 $26108.53 
201709|10004 $210941.88 
201709|10005 $132542.57 
201709|10006 $2053358.80 
201709|10007 $105333.08 
201711|1000111/1/2017201711$64.959/1/2017IB$64.95$0.00($105268.13)
201711|1000211/1/2017201711$335.909/1/2017NIB$335.90$0.00$335.90
201711|1000311/1/2017201711$10140.639/1/2017NIB$10140.63$0.00$10140.63
201711|1000411/1/2017201711$211073.389/1/2017IB$211073.38$0.00$211073.38
201711|1000511/1/2017201711$12057.659/1/2017NIB$12057.65$0.00$12057.65
201711|1000611/1/2017201711$994389.749/1/2017IB$994389.74$0.00$994389.74
201711|1000711/1/2017201711$167483.779/1/2017NIB($510355.12)$0.00($510355.12)

These are indeed the correct values from those dates, but this obviously does not fulfill my intent. I've tried using Above()  but it only pulls down a single record.

What can I do to fix/get around this?

1 Reply
ttollin11
Contributor III
Contributor III
Author

Bump