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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
jpar0511
Contributor III
Contributor III

Aggregating in Pivot table

Hello together,

 

I'm trying to aggregate data in a pivot chart. 

My dimensions are PeriodCleared and Cluster. 

Unbenannt.PNG

 

As you can see the sum in the first column is working - but I can't get the total sum of each PeriodCleared in the second column. The Value is present - but only in Cluster 2.

In the final result I want the percentage of each Cluster according to the total period value.

First formula:

Sum(STOCK_INVOICE_VAL_IAS_SIM_EUR)

Second formula:

sum(aggr(sum(STOCK_INVOICE_VAL_IAS_SIM_EUR),PeriodCleared))

Any help is appreciated.

 

Thank you

Jörg

1 Solution

Accepted Solutions
Kushal_Chawda
MVP
MVP

Use second formula (%)

Sum(STOCK_INVOICE_VAL_IAS_SIM_EUR)/sum(total <PeriodCleared>STOCK_INVOICE_VAL_IAS_SIM_EUR)

View solution in original post

1 Reply
Kushal_Chawda
MVP
MVP

Use second formula (%)

Sum(STOCK_INVOICE_VAL_IAS_SIM_EUR)/sum(total <PeriodCleared>STOCK_INVOICE_VAL_IAS_SIM_EUR)