Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
patagbura
Contributor
Contributor

Set Analysis - Uniques

I have a set analysis formula counting Sales from “Germany” as follows:

(Count({<[Country]={‘Germany}>} Sales))

I would like to however only consider the uniques of a third column called “Submissions”. The current selection double counts Submissions.

How might I go about removing all duplicates of a third column / submissions column?

Labels (2)
2 Replies
BrunPierre
Partner - Master II
Partner - Master II

Maybe like this

Count({<[Country]={‘Germany},Submissions ={"=Count(DISTINCT Submissions)"}>} Sales)

marcus_sommer

You may try:

Count({<[Country]={‘Germany}>} distinct Submissions)

or if no relevant field like an OrderID exists also the combination of fields like:

Count({<[Country]={‘Germany}>} distinct Sales&Submissions)

An alternatively might also be to use two expressions to get the unique count, like:

count(distinct Sales) / count(distinct SalesLines)

- Marcus