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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Vamsi0529
Contributor II
Contributor II

Len()

Hi Team,

I need a small help from you guys.

I am writing a where expression in data load editor.

I have Queue column which having null value 

For example it's looks like this  for removing that I am writing expression in DLE like below.

IMG_20240327_132314.jpg

Ex: 

Participants:

Load *

Where len("Queue Name") >0;

Load

CongratulationId,

queueName as [Queue Name],

User ID

From **** (qvd);

If I do it in DLE it works fine I want to write it in table measure in frontend visualisation.

How to write that expression in set analysis in the table measure column.

 

I have written like this. Like : count({<direction={inbound},[Queue Name] = {"len()>0"}>}distinct ConversationId)

I am not sure what I have written is right or wrong can anyone please help me with right set expression.

 

Thanks for your help guys 

 

 

Labels (4)
3 Replies
Nicolae_Alecu
Creator
Creator

Hello @Vamsi0529 ,

You can use this : 

Count({<Direction={'inbound'},[Queue Name]={"*"}-{''}>}distinct ConversationId)

 Best Regards,

BrunPierre
Partner - Master II
Partner - Master II

If you're confident that the values are Null, you can use the following expression:

=Count(Distinct {$<Direction={'inbound'},[Queue Name]={"*")>} ConversationId)

if you suspect the values might be blank or contain only spaces, you can use this expression:

=Count(Distinct {$<Direction={'inbound'},[Queue Name]={"=Len(trim(Field))>0")>} ConversationId)

Vamsi0529
Contributor II
Contributor II
Author

Sure, Thanks for the solution. I will check and let you know the feedback 🙂.

Have a great day