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: 
Not applicable

calculated expression in pivot table

I have a pivot like this, the column of score is expression

 

the VbenchBR kinds of things are the variable with a default vaule i have set , my question is how to calculate the sum of total of by the table,  it does not work when i have set the partial sum of it

if(RegionFullName='Brazil', [%Regular Students]/VbenchBR, if(RegionFullName='China',[%Regular Students]/VbenchCS,if(RegionFullName='France',[%Regular Students]/VbenchFR,if(RegionFullName='Germany',[%Regular Students]/VbenchGE,if(RegionFullName='Hong Kong',[%Regular Students]/VbenchHK,if(RegionFullName='Italy',[%Regular Students]/VbenchIT,if(RegionFullName='Japan',[%Regular Students]/VbenchJP,if(RegionFullName='Korea',[%Regular Students]/VbenchKR,if(RegionFullName='MEAST',[%Regular Students]/VbenchME,if(RegionFullName='Mexico',[%Regular Students]/VbenchMX,if(RegionFullName='ROA',[%Regular Students]/VbenchROA,if(RegionFullName='ROE',[%Regular Students]/VbenchROLA,if(RegionFullName='ROLA',[%Regular Students]/VbenchROLA,if(RegionFullName='ROW',[%Regular Students]/VbenchROW,if(RegionFullName='Russia',[%Regular Students]/VbenchRU,if(RegionFullName='Spain',[%Regular Students]/VbenchSP,if(RegionFullName='Taiwan',[%Regular Students]/VbenchTW,if(RegionFullName='Thailand',[%Regular Students]/VbenchTH,if(RegionFullName='US',[%Regular Students]

/VbenchUS)))))))))))))))))))

CodeNameRegionScore
BAdamBrazil0.7
China0
France1.1
Germany1
Hong Kong1.2
Italy0.3
Japan1.2
Korea0
MEAST0.1
Mexico0
ROA0
ROE1.3
ROLA0
ROW0
Russia0.2
Spain0
Taiwan0.4
Thailand0
US1.3
Total -

the total is not there

2 Replies
sujeetsingh
Master III
Master III

If possible use staright tabel

Not applicable
Author

try this

sum(total score)


and properties-->presentation-->select dimension-->check on partial sum

then total show