Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Sxbbb
Creator III
Creator III

need code from Value>=Min and Value <=Max

I want to create a table like this

Sxbbb_2-1677051448462.png

 

Where 'With in spec' comes from Value>=Min and Value <=Max.
Example 1 work order

Sxbbb_3-1677051623559.png

I can do it but then the Data  is wrong.

 

Sxbbb_4-1677051857759.pngSxbbb_5-1677051892167.png

used code of  'With in spec'.

(Count(Aggr(if(Value>=Min and Value <= Max,1,0),Line,WorkOrder,SampleNo,Point))).

 

 

2 Replies
Sxbbb
Creator III
Creator III
Author

(Count(Aggr(if(Value>=Min and Value <= Max,Count(WorkOrder),0),Line,WorkOrder,SampleNo,Point))).

Sxbbb_0-1677053488591.png

still not correct

Sxbbb
Creator III
Creator III
Author

@edwin  

can you help me