Check out the LimeSurvey source code on GitHub!

in relevance equation, shall i add ()?

  • limesun
  • limesun's Avatar Topic Author
  • Visitor
  • Visitor
3 years 4 months ago #100293 by limesun
in relevance equation,shall i input

sum(q1.value,q2.value,q3.value,q4.value,q5.value,q6.value,q7.value)>=4 AND sum(q8.value,q9.value,q10.value,q11.value,q12.value,q13.value,q14.value)<4 AND sum(q15.value,q16.value,q17.value,q18.value,q19.value,q20.value,q21.value)<4 AND sum(q22.value,q23.value,q24.value,q25.value,q26.value,q27.value,q28.value)>=4


OR

(sum(q1.value,q2.value,q3.value,q4.value,q5.value,q6.value,q7.value)>=4 AND sum(q8.value,q9.value,q10.value,q11.value,q12.value,q13.value,q14.value)<4 AND sum(q15.value,q16.value,q17.value,q18.value,q19.value,q20.value,q21.value)<4 AND sum(q22.value,q23.value,q24.value,q25.value,q26.value,q27.value,q28.value)>=4)


?

Please Log in to join the conversation.

More
3 years 4 months ago #100347 by tpartner
I don't think you need the outer brackets.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form