Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: in relevance equation, shall i add ()?

in relevance equation, shall i add ()? 3 years 2 months ago #100293

  • limesun
  • limesun's Avatar
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)

?
The administrator has disabled public write access.

in relevance equation, shall i add ()? 3 years 2 months ago #100347

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6571
  • Thank you received: 1477
  • Karma: 579
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.
The administrator has disabled public write access.
Time to create page: 0.392 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form