Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

vsabbise
New Contributor III

Count with Len() function and Greater than operator

Hi All,

I am planning to achieve something similar to below. Count distinct ID based on length of text > = 1

count({$<len([text])={">=1"} >} distinct ID)

The expression doesn't yield any result and I am not sure why.

Labels (3)
1 Reply
Highlighted
h_prakash
Contributor

Re: Count with Len() function and Greater than operator

Hi,

You cannot use a Function for the fields in the Set Analysis Expression. 

You can try something like this

If(Len(trim([text]))>=1, Count(Distinct ID).

 

Thanks

Prakash