Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
paulyeo11
Master
Master

How to make my table total display 31,287?

Hi All

My Table 1 total sum up amount now display 17,030.34 , How to make it display 31,287?

Paul

1 Solution

Accepted Solutions
sunny_talwar

Just need to use Sum(Aggr())

Sum(Aggr(If(Sum({<SEGMENT -= {'Related Coy'},aging_ar = {'>=151'} >}total_ar  * Pick(Match(US_Cust_AR, 'EUR', 'NT', 'USD', 'YEN', 'BAH', 'SGD'), 1.64, (1/24), 1.25, 0.012, 1/24, 1)) > 0,

Sum({<SEGMENT -= {'Related Coy'},aging_ar = {'>=151'} >}total_ar  * Pick(Match(US_Cust_AR, 'EUR', 'NT', 'USD', 'YEN', 'BAH', 'SGD'), 1.64, (1/24), 1.25, 0.012, 1/24, 1))), CUST_ID, company_ar))

View solution in original post

6 Replies
paulyeo11
Master
Master
Author

my QVF

sunny_talwar

I am seeing a total of 140,011.38.... Do I need to make a selection to see 17,030.34?

paulyeo11
Master
Master
Author

Hi Sunny

Yes , pls select :-

Source = TDSS

GROUP CLASS = G3

Paul

Get Outlook for iOS<https://aka.ms/o0ukef>

sunny_talwar

Just need to use Sum(Aggr())

Sum(Aggr(If(Sum({<SEGMENT -= {'Related Coy'},aging_ar = {'>=151'} >}total_ar  * Pick(Match(US_Cust_AR, 'EUR', 'NT', 'USD', 'YEN', 'BAH', 'SGD'), 1.64, (1/24), 1.25, 0.012, 1/24, 1)) > 0,

Sum({<SEGMENT -= {'Related Coy'},aging_ar = {'>=151'} >}total_ar  * Pick(Match(US_Cust_AR, 'EUR', 'NT', 'USD', 'YEN', 'BAH', 'SGD'), 1.64, (1/24), 1.25, 0.012, 1/24, 1))), CUST_ID, company_ar))

paulyeo11
Master
Master
Author

Hi Sunny

You are good.

Any idea why in Qlik View ver 9 the old expression with out sum(AGGR it work fine,

Paul

sunny_talwar

Nope, no idea