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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
brunopaulo
Partner - Creator II
Partner - Creator II

Set Analysis problem on syntax

Hi Community,

I'm trying to solve a problem using Set Analysis. I want to count the number of rows that a certain value appears.

I'm writing this way:

= Num (count ({($ <columnname = 'String'>} NrLine)

In Load I created a fuction RecNo () as NrLine.

The error it gives me is: Error in set modifier ad hoc element list: ',' or ')'


I can not find the place to put it.


Thank you for attention
Regards
Bruno Paulo


4 Replies
sunny_talwar

You are missing { and } within your set modifier

=Num(Count({$<columnname = {'String'}>} NrLine)

its_anandrjs
Champion III
Champion III

Missing Parenthesis

=Num (count ({($ <columnname = {'String'}>} NrLine)


Or


=Num (if(columnname = 'String' , NrLine ) )


Anonymous
Not applicable

= Num (count ({$ <columnname = 'String'>} NrLine))


Try This

hari8088
Creator
Creator

Try this.......

Num(Count({$<columnname = {'String'}>} NrLine))