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: 
Lily
Contributor III
Contributor III

Calculate a new total expression in straight table

Hi All,

How can I create a manual total calculation in an expression rather than utilizing the auto total calculation in a straight table in Qlik Sense?

Lily_1-1695803919896.png

The values in my actual data were all positive. To get the correct grand total, as seen in the screenshot below, I need to do manual calculation. Please give me an advice if you have any. Thanks. 

Lily_0-1695804593180.png

 

 

 

 

 

 

 

 

 

 

 

Labels (2)
2 Replies
Arek92
Contributor III
Contributor III

Hello,

In your expression you can use condition

If(Dimensionality() = 0,  Expression for Total,  Standard expression )

 

 

Lily
Contributor III
Contributor III
Author

Hi Arek, 

Thanks. The expression does work for me.  But when I tried to filter by type, the value will be zero. Do you know why this happens?