Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear QVExperts,
I have a table with column, [Date Received] with total 117 rows
Out of which, two rows are null.
How to display the Count([Date Received])
without null as 115 rows
with null as 2 rows.
Thanks
Hi Sasi,
Below code will be help ful to you.
check:
LOAD sum(if(isnull(Customer)=0,1,0)) as notnullvalue,
sum(if(isnull(Customer)=0,0,1)) as nullvalue
FROM
(txt, codepage is 1252, embedded labels, delimiter is ',', msq);
thanks,
Sreeman
You can do a count of Null using NullCount() function:
NullCount([Date Received])
without Null= count(if(len(trim([Date Recieved]))>0,[Date Recieved]))
Null = count(if(len(trim([Date Recieved]))=0,[Date Recieved]))
Hi Sasi,
Below code will be help ful to you.
check:
LOAD sum(if(isnull(Customer)=0,1,0)) as notnullvalue,
sum(if(isnull(Customer)=0,0,1)) as nullvalue
FROM
(txt, codepage is 1252, embedded labels, delimiter is ',', msq);
thanks,
Sreeman
Alternative would be to do this:
RangeSum(Count([Date Received]) + NullCount([Date Received]))
Thanks All for your valued solutions.