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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

do/for loop script needed?

Hi All,

Please help me implement below requirement.

Data looks like below

   

NumberSub-NumberStatus
11.1pass
1.2fail
11.3reject
22.1pass
22.5 pass
33.2fail
33.3fail
33.4reject

Requirement:

get the list of numbers for which, status is only 'pass' for all the Sub-Number.

to make it clear, if corresponding status for all the Sub-Numbers for a given Number is ''pass'', then only it should appear in output list.

so in above example, output list will contain only number 2.

please help.

any suggestion appreciated.

Thanks&Regard

Jyothi

11 Replies
Not applicable
Author

wow! it worked.

so if i want to add 5 fields, i should be adding all 5 fields in Group By clause is it?

I hope it wont impact the result

Thanks a lot Anbu!

anbu1984
Master III
Master III

Yes. If you are not getting correct result, then post the script you tried and expected output