Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
wcamargo
Contributor III
Contributor III

SUM With condition of one cell is empty

Hi all,

I would like to make a sum the columns "Result" if the "Item 1" column is "B" and "Item 2" column is "empty".

In this table example it should return me "30".

Item 1 Item 2 Result
A X 10
A X 10
B   10
A X 10
B   10
B X 10
A X 10
B   10
     

 

Does anybody know how to help me?

Labels (4)
1 Solution

Accepted Solutions
vinieme12
Champion III
Champion III

 

sum({<Item1={'B'},Item2={"=len(Item2)<1"}>}Result)

 

read more on set analysis

https://www.analyticsvidhya.com/blog/2014/01/set-analysis-qlikview/

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

2 Replies
vinieme12
Champion III
Champion III

 

sum({<Item1={'B'},Item2={"=len(Item2)<1"}>}Result)

 

read more on set analysis

https://www.analyticsvidhya.com/blog/2014/01/set-analysis-qlikview/

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
wcamargo
Contributor III
Contributor III
Author

Thanks a lot @vinieme12