Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
ssriramin19
Contributor III
Contributor III

set analysis expression

I have the expression in  my table

SUM(OP_actual)-SUM(([PSGL Sales Amt]))

I need to include sum({<LAG_DP]=>} in the above expression . To make the LAG_DP independent of selections for MRE the set analysis needs to be included in the above sum expression

Can anyone tell me how to include set analysis (LAG_DP) in the above sum expression?

Please do the needful on this .

Thanks

Sriram

1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,


Try this.



SUM({<LAG_DP=>}OP_actual)-SUM(({<LAG_DP=>}[PSGL Sales Amt]))


Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

3 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,


Try this.



SUM({<LAG_DP=>}OP_actual)-SUM(({<LAG_DP=>}[PSGL Sales Amt]))


Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
qlikmsg4u
Specialist
Specialist

if you want to make LAG_DP independent of selections then do this way

Sum({<LAG_DP=>}OP_actual) - Sum(({<LAG_DP=>}[PSGL Sales Amt]))

ssriramin19
Contributor III
Contributor III
Author

Thanks very much on helping me on this.