Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
qliksus
Specialist II
Specialist II

REGARDING SOME CALCULATION

Hi,

Just open the qvw file there u can see i am facing problem in getting sum.

Waiting for reply??????

1 Solution

Accepted Solutions
Not applicable

Try this..

Sum({$<closingstock={">0"}>} Sale)

When you use the if-statements, you will often multiply you your rows when your conditinal sum depends on a value from another table.

This was not an issue up to version 8, but from 8.5 and onwards, it seems like the only thing that handle this correctly is "Set analysis"

/Martin

View solution in original post

2 Replies
Not applicable

Try this..

Sum({$<closingstock={">0"}>} Sale)

When you use the if-statements, you will often multiply you your rows when your conditinal sum depends on a value from another table.

This was not an issue up to version 8, but from 8.5 and onwards, it seems like the only thing that handle this correctly is "Set analysis"

/Martin

qliksus
Specialist II
Specialist II
Author

Hi,

Thanks for reply. It's works fine .