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: 
nevilledhamsiri
Specialist
Specialist

How to design a nested if statement as per the given data both is script & as a chart expression

Hi

Please help me to structure a nested if statement  both in front end & as a chart expression. The comments are the key to take in to account in designing this!

Thanks in advance

Neville

 

BR_CODEGLSCHEDULEComments'
A2500025000In order
B20000.520000In order
C15251.2515251In order
D-1254.251257In order
E2500-500Not In order
F15251500Not In order
G0500Not In order
H10000Not In order
I1525-1524In order
J0-4.25In order
K-525225Not In order
3 Replies
nevilledhamsiri
Specialist
Specialist
Author

Sorry, Please see the comments which highlights the kind of statement required!

Neville

 

BR_CODEGLSCHEDULEComments'
A2500025000In order
B20000.520000In orderSince variance is within Rs 5 up & down
C15251.2515251In orderSince variance is within Rs 5 up & down
D-1254.251257In orderSince variance is within Rs 5 up & down
E2500-500Not In order
F15251500Not In order
G0500Not In order
H10000Not In order
I1525-1524In orderSince variance is within Rs 5 up & down
J0-4.25In orderSince variance is within Rs 5 up & down
K-525225Not In order
nevilledhamsiri
Specialist
Specialist
Author

Correction is hereby done on comments made in Code I. which should be Not in order as well

Sorry for printing error!

BR_CODEGLSCHEDULEComments'
A2500025000In order
B20000.520000In orderSince variance is within Rs 5 up & down
C15251.2515251In orderSince variance is within Rs 5 up & down
D-1254.251257In orderSince variance is within Rs 5 up & down
E2500-500Not In order
F15251500Not In order
G0500Not In order
H10000Not In order
I1525-1524Not in order
J0-4.25In orderSince variance is within Rs 5 up & down
K-525225Not In order

nevilledhamsiri
Specialist
Specialist
Author

Dear Members,

Could you please see to this!

Thanks

Neville