Skip to main content
Announcements
See why Qlik was named a Leader in the 2024 Gartner® Magic Quadrant™ for Data Integration Tools for the ninth year in a row: Get the report
cancel
Showing results for 
Search instead for 
Did you mean: 
muniyandi
Creator III
Creator III

Total Function

Hi All,

I need total value for Quarter  dimension .

Kindly refer my attachment file

Expected Result: For Qtr Total Value expression only

MonthJanFebMarAprMayJunJulAugSepOctNovDec
Month Value100400200300200500302408200700500400
Year Value421042104210421042104210421042104210421042104210
Qtr Total Value700700700100010001000910910910160016001600
1 Solution

Accepted Solutions
Not applicable

use

Aggr(NODISTINCT sum(Amount), Qtr)

In your expression,

Edit: You might also want to give the community more than 4 minutes to reply before spamming your question too

View solution in original post

9 Replies
muniyandi
Creator III
Creator III
Author

Hi , Any one have answer.

Not applicable

use

Aggr(NODISTINCT sum(Amount), Qtr)

In your expression,

Edit: You might also want to give the community more than 4 minutes to reply before spamming your question too

maxgro
MVP
MVP

I think you have to add the quarter dimension

1.png

sujeetsingh
Master III
Master III

See this done for you

sujeetsingh
Master III
Master III

Munish,

Have a look of the sample i have posted .

You can also implement it through pivot table by using Quarter as dimension.

Yousef_Amarneh
Partner - Creator III
Partner - Creator III

Please see the attached, it matches your needs, if so please don't forget to mark my reply as correct answer

Yousef Amarneh
muniyandi
Creator III
Creator III
Author

Thanks To All,

Special Thanks for Joe Simmons.

Finally i got answer

sum(Aggr(nodistinct sum(TOTAL <Qtr> Amount),Qtr))
Not applicable

no worries, glad to be of help, you'll find the Aggr function useful for a number of things, so I would maybe check out this post

http://community.qlik.com/blogs/qlikviewdesignblog/2013/03/07/aggr

Joe

muniyandi
Creator III
Creator III
Author

Thanks Joe.