Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

set expression

Hi

i have a table

Event IdDate
121
4/27/2012
122
4/27/2012
123
4/25/2012

i need to count event ids with unique Date, in the above example it should return 2

1 Solution

Accepted Solutions
lironbaram
Partner - Master III
Partner - Master III

so you can add

count(distinct Date&[event name])

basicly i would prefer not using set analysis in my expressions

try to keep it  as simple as possible

View solution in original post

4 Replies
lironbaram
Partner - Master III
Partner - Master III

hi try

count(distinct Date)

Not applicable
Author

that would return desired count but i want to count eventids due to other limitations

i have a table

Event Idevent name Date
121abc
4/27/2012
122abc
4/27/2012
123abc
4/25/2012
124xyz
4/25/2012

in this table event 'abc' occured twice and 'xyz' occured once , so now the expression should return count of events 3

lironbaram
Partner - Master III
Partner - Master III

so you can add

count(distinct Date&[event name])

basicly i would prefer not using set analysis in my expressions

try to keep it  as simple as possible

somenathroy
Creator III
Creator III

This is snap of a straight table.

count.png