Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
QlikWorld, June 24-25, 2020. Free virtual event for DI and DA gurus. Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Creator
Creator

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

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