Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
juriengroot
Contributor III
Contributor III

Set analysis or IF not equal to any value from dimension

Hi,

I want to compare a column A with values, say value A to all possible values from column B, eventhough they are not related in the same row.

Column AColumn B
AX
BY
BZ
CA
CZ

For this example I want to compare COUNT(IF(Column B <> All possible values of Column A, 1)) This should result in 4.

I cannot find the syntax to compare to unrelated values.

1 Solution

Accepted Solutions
sunny_talwar

Or this

=Count([Column A]) - Count({<[Column A] = p([Column B])>} [Column A])

View solution in original post

2 Replies
sunny_talwar

May be this

Count({<[Column A] = e([Column B])>} [Column A])

sunny_talwar

Or this

=Count([Column A]) - Count({<[Column A] = p([Column B])>} [Column A])