Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Question on Pivot Table partial sum

Hi,

Is it possible in pivot table, to have the expression as text (Ex: minstring(Column)), but the partial sum should be a number (ex: Sum(Column5) * Sum(Column6)). I understand that it is possible to have text as partial sum when text is used in the expression as well, but is it possible to use own expression for partial sum only.

.
Is it possible to achive the above requirement in Pivot table.

Thanks.

1 Reply
swuehl
MVP
MVP

You could use the functions dimensionality() and secondarydimensionality() to check if the expression is evaluated for a row or a partial sum.

It could look similar to

=if(dimensionality()=0, Sum(X)*sum(Y), minstring(Z) )

The exact value to compare dimensionality() with will depend on the dimension level you are referring to.

Please see also the examples in the Help file.

Hope this helps,

Stefan