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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
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

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

Use second formula (%)

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