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 ()? 2 years 9 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 ()? 2 years 9 months ago #100347

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6122
  • Thank you received: 1357
  • Karma: 533
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.
Moderators: ITEd
Time to create page: 0.589 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form