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

group data and calculations of a pivot table

With the help of forums,

I Create a Pivot Table with Item and MonthYear as Dimension and Sum(Quantity) as expression And this is the result:

itemMonthyearene 2015feb 2015mar 2015abr 2015may 2015Total
88126 1308700130
91152 1439713620682976
91156 162661541291201006
91158 1322192525175
91159 1942773454256
91230 833464852267
91232 000001

Now, I already have as well as the months I mean, how do I add January and February, February and March, March and April and so on. I need to add two and two and leave the results in a column. Because then I get the standard deviation of the months grouped in pairs.

I need this?

itemMonthyearene 2015feb 2015mar 2015abr 2015may 2015jan+febfeb+marmar+aprStandard
  deviation
88126 1308700311178744
91152 143971362068224023334261
91156 1626615412912022822028334
91158 13221925253541445
91159 19427734546111911131
91230 83346485241799427
91232 000000000

Please help me as I do this?

14 Replies
sinanozdemir
Specialist III
Specialist III

Hi Rodrigo,

As Digvijay pointed out that's the way to do it. Although, I am confused when you say "disaggregate for months".

Not applicable
Author

Hi Sinan,

Thank you very much for your help, this is the original file, you can see the file information in the months this in a single column, I need to pass rows to columns (to what I mean when disaggregating)

original file.png

use the function in the expression as Digvijay Singh he tells me not work for me, not that I'm doing wrong.

Best regards,

Rodrigo

sinanozdemir
Specialist III
Specialist III

Ok. I see.

I did the same way as Digvijaypointed out:

Capture.PNG

use set analysis, filter is the monthyear as shown in the above depiction. Then label it as the monthyear name that is used in the set analysis

I am also attaching qvw for your reference.

Thanks

Not applicable
Author

Hi Sinan Ozdemir and Digvijay Singh,

Thank you very much for your help was invaluable

Digvijay_Singh

You can mark this 'answered' if it met your requirement to close the thread. Mark Sinan' one as right answer as I just followed his instructions. I am a learner.