Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
deepakqlikview_123
Specialist
Specialist

Requirement

Hi all,

Please find attachment

As per requiremnet I need to show data in pivot table as

Field 2 data=feld 1 data+ field 2 data

Field 3 data=feld 1 data+ field 2 data + Field 3 data

Field 4 data=feld 1 data+ field 2 data + Field 3 data+Field 4 data

Can you please suggest what  would be the formula for this

Please find QVW file there are month wise days and on combination of month and day there is count of sales.

I need to show data like

Day1 data data=Day 1 data+ Day 2 data

Day 3 data=Day 1 data+ Day  2 data + Day 3 data

Day 4 data=Day 1 data+ Day 2 data + Day  3 data+Day 4 data

Thanks

1 Solution

Accepted Solutions
its_anandrjs

Please provide sample data otherwise you can achieve this requirement in the pivot tables.

View solution in original post

6 Replies
MK_QSL
MVP
MVP

Please provide data in excel file or in sample apps.

its_anandrjs

Please provide sample data otherwise you can achieve this requirement in the pivot tables.

deepakqlikview_123
Specialist
Specialist
Author

Please find QVW file there are month wise days and on combination of month and day there is count of sales.

I need to show data like

Day1 data data=Day 1 data+ Day 2 data

Day 3 data=Day 1 data+ Day  2 data + Day 3 data

Day 4 data=Day 1 data+ Day 2 data + Day  3 data+Day 4 data

thanks

deepakqlikview_123
Specialist
Specialist
Author

Hi anand,

PFA,Please suggest how to implement same in pivot table.

Thanks

SunilChauhan
Champion II
Champion II

Hi Deepak.

use rangesum(above(sum(Amountfield)),0,rowno(Total))  in expr

see the attched file

hope this helps

Sunil Chauhan
deepakqlikview_123
Specialist
Specialist
Author

Hi Sunil,

Thanks for reply.

Currently my days are not rows I have taken them as a columns for same reason by using formula whatever u have mention I am getting sum for day 1 day2 only .

In this case can u plz suggest how to proceed,

Thanks