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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to count same value only one time?

Hi

I have a table with decision and subdecision. Each subdecision are connected to the main decision by a decisionID. I want to count the decisionID but only ones. So, what function do I use to only count uniq IDs?

551

552

553

551

as only 3 posts?

/Thanks!

1 Solution

Accepted Solutions
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Use Count(Distinct DecisionID).

     Distinct keyword selects only unique data.

Celambarasan

View solution in original post

2 Replies
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Use Count(Distinct DecisionID).

     Distinct keyword selects only unique data.

Celambarasan

jagan
Partner - Champion III
Partner - Champion III

Hi,

Try using the Distinct option in Count()

=Count(Distinct DecisionID)

Regards,

Jagan.