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

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to get the correct sum

Hello all.
I need to get a table of values with each row containing a column with the sum for the family in the respective month and another column with the sum for all families within the month.
Example:

MonthFamilySumSum(2)
JanMeat1025
JanFish525
JanVegetables1025
FebMeat1532
FebFish732
FebVegetables1032

I can get the values for "Sum", but i don't know how to do it for "Sum(2)".

Can anyone help?

Thank you.

Joaquim

Labels (1)
1 Solution

Accepted Solutions
stephencredmond
Partner - Specialist II
Partner - Specialist II

Hi,

Use this:

Sum(TOTAL<Month> ValueField)

Regards,

Stephen

View solution in original post

2 Replies
stephencredmond
Partner - Specialist II
Partner - Specialist II

Hi,

Use this:

Sum(TOTAL<Month> ValueField)

Regards,

Stephen

Not applicable
Author

Thank you Stephen.

It was simple as that.

Joaquim