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 :
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 |
Then, My expression not working for you?
Only({<completedate = {"=Len(completedate)=0"}>}completedate)
try like this
if(len(trim(completeddate))=0,completeddate)
then suppress null in the dimension option
Where are you trying this expression? creating a list box? in chart dimension? ..
I want to list the numbers where the completedate is null. I want to display in qliksense table box.
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;
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
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
5 | B | 104 | yes |
6 | J | 105 | yes |
Why not 7?
sorry 7 also I missed it while copying:(
Then, My expression not working for you?
Only({<completedate = {"=Len(completedate)=0"}>}completedate)