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: 
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

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))