Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join us at the Cloud Data and Analytics Tour! REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Partial sum is not calculated

Hi, I have a pivot table and I calculated a column with the following fomula: =Sum(filed1)+Sum(Field2)+Sum(Field 3)

At this column the partial sum is not calculated. If I calculate it in the excell file I am geting my data from, the partial sum is working.

Any advise is welcome.

Thank you

1 Solution

Accepted Solutions
CELAMBARASAN

You expression should look like this

=RangeSum(Sum(Luni*PU_furnizor)

,Sum(Marti*PU_furnizor)

,Sum(Miercuri*PU_furnizor)

,Sum(Joi*PU_furnizor)

,Sum(Vineri*PU_furnizor))

View solution in original post

4 Replies
CELAMBARASAN

If there is a possibility of null values you can try with

RangeSum(Sum(field1),Sum(field2),Sum(field3))

Celambarasan

Not applicable
Author

Dear Sir, thank you for your answer,  I tried the formula but it is still not working. I am uploading the QV file I am working on, please observe the last two columns, they should show the same values. The first one is with the formula you proposed, the second one collects the data from the excell file, where I calculated the final value. Please collaps the rows in the pivot table, and the value becomes zero.

The project is about calculating the catering costs based on a unit price and the presence of the kids in the 5 working days of a week.

Thank you

CELAMBARASAN

You expression should look like this

=RangeSum(Sum(Luni*PU_furnizor)

,Sum(Marti*PU_furnizor)

,Sum(Miercuri*PU_furnizor)

,Sum(Joi*PU_furnizor)

,Sum(Vineri*PU_furnizor))

View solution in original post

Not applicable
Author

Thank you, now it works.