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

Set Analysis for len function

Hi guys,

Can anyone tell me how can I write this expression in set analysis?

Count( distinct {<[Date]-={'NULL'}>} if( len([Date])>0 ,[Date]&[Dimension_1]&[Dimension_2]   ,null()))

 

I have tried this but this gives me a different count:

Count( distinct {<[Date]-={'NULL'},[Date]={"=len(trim([Date]))>0"}>} [Date]&[Dimension_1]&[Dimension_2])

1 Solution

Accepted Solutions
Anil_Babu_Samineni

Perhaps this?

Count( distinct {<[Date]-={'NULL', "=len(trim([Date]))<0"}>} [Date]&[Dimension_1]&[Dimension_2])

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

2 Replies
Anil_Babu_Samineni

Perhaps this?

Count( distinct {<[Date]-={'NULL', "=len(trim([Date]))<0"}>} [Date]&[Dimension_1]&[Dimension_2])

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
SkitzN27
Creator
Creator
Author

Thanks so much! @Anil_Babu_Samineni