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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
mee-qlik
Partner - Contributor
Partner - Contributor

Pivot table: how to calculate % ref other group

In a pivot table whit 4 dimension and 1 expression ( a rangesum calc , thanks to Sunny Talvar for the help) now I have to calculate for the dimension "Conto" with ind_C_R = "C" the % vs total of group with ind_C_R ='R'

In the example , for the "CONTO" = 244 , the correct values would be abs(-111637.52 / 3431014.57) = 3.25377 ... % and so on with "CONTO" 201 ... 417

Thanks!!

1 Solution

Accepted Solutions
sunny_talwar

May be this

Sum({<IND_C_R={'C'}>} VALORE)/Sum(TOTAL {<IND_C_R={'R'}>} VALORE)

Capture.PNG

View solution in original post

2 Replies
sunny_talwar

May be this

Sum({<IND_C_R={'C'}>} VALORE)/Sum(TOTAL {<IND_C_R={'R'}>} VALORE)

Capture.PNG

mee-qlik
Partner - Contributor
Partner - Contributor
Author

Yes, correct.

My problem is al little bit complicated, I will post another example.

Thanks again!