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: 
rtaraka
Contributor II
Contributor II

Qlik Sense Pivot table Column level value Average

Hello Experts,

I'm new to Qlik. Currently I'm facing a percentage rollup at Year level which is in the column as part of pivot view. 

Below is the example of the current scenario.  

Need Average of each Dim1 value at each year level. Not complete total of the value avg.

 

Current Output:

   Year   
Dim 1Total20202019
 valuePercentagevaluePercentagevaluePercentage
Total220100.0010045.45%12054.55%
A6027.27209.09%4018.18%
B209.09104.55%104.55%
C8036.364018.18%4018.18%
D6027.273013.64%3013.64%

Expected output is below.

 Year   
Dim 120202019
 valuePercentagevaluePercentage
Total100100%120100%
A20            20.004033.33
B10            10.00108.33
C40            40.004033.33
D30            30.003025.00

 

 

I've search in the community that suggests we can do this at row total level, but haven't yet worked out how to do this at column individual value level.

Please suggest me with your input to get some final solution.

Labels (1)
1 Reply
rtaraka
Contributor II
Contributor II
Author

Here is the calculation which I'm currently Using it.

 

sum(VALUE)
/
sum(TOTAL VALUE)