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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
soniasweety
Master
Master

Only Null data

Hi all,

I have an issue with showing the null data .

My Requirment is:  I want to show the data where the completeddate is null/blank.

I have written this expression still its giving the wrong output can anyone suggest the correct expression?

=aggr(Only({$-<completiondate={"*"}>}numb),numb)

   

I have data like below   :

   

numbtypecompletedatevalues purchase
1A10-Jan-17100No
2X11-Jan-17101yes
3C12-Jan-17102No
4G13-Jan-17103yes
5B104yes
6J105yes
7ER106no
8GR17-Jan-17107no
9HET18-Jan-17108yes
1 Solution

Accepted Solutions
Anil_Babu_Samineni

Then, My expression not working for you?

Only({<completedate = {"=Len(completedate)=0"}>}completedate)


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

24 Replies
avinashelite

try like this

if(len(trim(completeddate))=0,completeddate)


then suppress null in the dimension option

tresesco
MVP
MVP

Where are you trying this expression? creating a list box? in chart dimension? ..

soniasweety
Master
Master
Author

I want to list the numbers where the completedate is null.     I want to display in qliksense  table box.

Anil_Babu_Samineni

May be this? I assume tabular object not table box. Set analysis, Like below?

Only({<completedate = {"=Len(completedate)=0"}>}completedate)


OR


If it is in simple table box, May be this?

LOAD * Inline [

numb, type, completedate, values, purchase

1, A, 10-Jan-17, 100, No

2, X, 11-Jan-17, 101, yes

3, C, 12-Jan-17, 102, No

4, G, 13-Jan-17, 103, yes

5, B, , 104, yes,

6, J, , 105, yes,

7, ER, , 106, no,

8, GR, 17-Jan-17, 107, no

9, HET, 18-Jan-17, 108, yes

] Where Len(completedate) = 0;

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
avinashelite

We don't have the option to add expression for table box ...are you working on the straight table/Pivot ? could share the sample app

soniasweety
Master
Master
Author

Avi,

In qliksense table box is nothing but straight table,

I need output like below in straight table

because only 5,6  don't have the complete date

B104yes
6J105yes
Anil_Babu_Samineni

Why not 7?

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
soniasweety
Master
Master
Author

sorry 7 also I missed it while copying:(

Anil_Babu_Samineni

Then, My expression not working for you?

Only({<completedate = {"=Len(completedate)=0"}>}completedate)


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