Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
My requirement is as such:
I have a csv from which I am loading the data.
-Suppose I have 3 conditions
1. field A = 'Y'
2.feild B='N'
3.feild C<>'Y'
-So, my load statement would be like --
load * from myfile
where
field A = 'Y'
AND
feild B='N'
AND
feild C<>'Y'
;
-Now I want to check how many records are eliminated only due to feild c<>'Y' , but my actual load should contain that elimination.
How do I achieve that?
Please check the NoOfRows() in this link:https://help.qlik.com/en-US/qlikview/November2018/Subsystems/Client/Content/QV_QlikView/Scripting/Ta...
May be do another load like this
ExclusionCount:
LOAD Count(feild C) as CountFieldC FROM myfile Where feild C <> 'Y';
Concatenate(ExclusionCount)
LOAD Count(feild B) as CountFieldB
FROM myfile
Where feild B='N';
Concatenate(ExclusionCount)
LOAD Count(feild A) as CountFieldA
FROM myfile
Where field A = 'Y';