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

Use Expression Total in another Expression

Hi,

I have added a new Expression in a Pivot Table that sums other expressions. This new field is called Score and it exists only in one Pivot Chart.

I want to use the Expression Total for Score somewhere else. Is this possible?

Hopefully this makes sense as i wast sure the technical way to explain this.

Thanks

Stuart

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Qlikview is not a spreadsheet application, so referencing a cell in another table is not possible. You will have to create an expression that calculates that Total in the object where you want to use it again. Perhaps it's possible to use the same expression you use in your pivot table, but without looking at your document there's no way for me to be sure.


talk is cheap, supply exceeds demand

View solution in original post

4 Replies
MK_QSL
MVP
MVP

You can't use expression name of one table to another.. You need to use the full expression itself..

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Qlikview is not a spreadsheet application, so referencing a cell in another table is not possible. You will have to create an expression that calculates that Total in the object where you want to use it again. Perhaps it's possible to use the same expression you use in your pivot table, but without looking at your document there's no way for me to be sure.


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

you can try to use a variable with the expression and insert the variable in the expression

as often as you need. I try to use this approach, so you only need to change the expression once

Not applicable
Author

Thanks - i was thinking of using a similar expression however I would need to change the Expression.

Right now I am using

sum(Email_Space)+sum(Email_CountDblAt)+sum(Email_DblPeriod)+sum(Email_PeriodFirst)+sum(Email_PeriodLast)+sum(Email_PeriodAt)+sum(Email_AtPeriod)+sum(Email_BadChars)

This gives a total of about 150. Hoever I just need the expression total which is 15. (ie 15 lines with a value of >0 for the above expression.