Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
david_ze
Partner - Contributor III
Partner - Contributor III

How to count valuse from possiable value list??

hi,

I have two tables: A and B:

AB
ABAC
11551
21431
3121
4171
5191
61111
71171
81881
9111
10161


I would like to count column C each time the A value exists in both table.

In the above example the result should be 5.

How should I do this?

Will appreciate your help.

Thanks in advanced,

David

1 Reply
Not applicable

Hello David,

since I do not know where you want to use it, my suggestions:

a) in a straight table as a calculated dim like =if(B=C, A) and an expression like count(C)

b) in a text-box like =count(if(B=C, C))

If you need it more often, I would think about doing the count during loading and store it in a new field ("D")

HtH

Roland