Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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

1 Solution

Accepted Solutions
stephencredmond
Luminary Alumni
Luminary Alumni

Hi,

Use this:

Sum(TOTAL<Month> ValueField)

Regards,

Stephen

View solution in original post

2 Replies
stephencredmond
Luminary Alumni
Luminary Alumni

Hi,

Use this:

Sum(TOTAL<Month> ValueField)

Regards,

Stephen

Not applicable
Author

Thank you Stephen.

It was simple as that.

Joaquim