Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set analyse problem

HELLO!

I want to calculate the count (TYPE) with the set anayse definition as TYPE={SEL_TYPE_01,NULL}, where SEL_TYPE_01 is the name of a selection list, and NULL is a subset where TYPE is NULL.

The result is something like         count{<TYPE={SEL_TYPE_01,NULL}>TYPE}

If you have any idea or advice,

THANKS for your response !!!!

5 Replies
Not applicable
Author

hi

try this

aggr(count({<TYPE={''}>}TYPE),SEL_TYPE_01)

er_mohit
Master II
Master II

try this

count(distinct {<TYPE={0}>}TYPE)

or

count(distinct {<TYPE={' '}>}TYPE)

if you can't get the output then try this


aggr(count(distinct {<TYPE={0}>}TYPE),SEL_TYPE_01)

aggr(count(distinct {<TYPE={' '}>}TYPE),SEL_TYPE_01)


narender123
Specialist
Specialist

I dont get your point,

I think you want his

count{<TYPE={'SEL_TYPE_01'}>TYPE}

Not applicable
Author

Something like this:

=count ({SEL_TYPE_01} TYPE)+NullCount(TYPE)

sujeetsingh
Master III
Master III

Just go  for:

COUNT({<TYPE={SEL_TYPE_01},{TYPE=NULL}>TYPE)