
Contributor III
2018-08-01
09:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 A | Column B |
---|---|
A | X |
B | Y |
B | Z |
C | A |
C | Z |
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.
- Tags:
- if
- set analysis*
1,740 Views
1 Solution
Accepted Solutions

MVP
2018-08-01
09:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Or this
=Count([Column A]) - Count({<[Column A] = p([Column B])>} [Column A])
1,651 Views
2 Replies

MVP
2018-08-01
09:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May be this
Count({<[Column A] = e([Column B])>} [Column A])
1,651 Views

MVP
2018-08-01
09:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Or this
=Count([Column A]) - Count({<[Column A] = p([Column B])>} [Column A])
1,652 Views
