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

TOPIC: How can I show in a question the sum of two answers given to a question before

How can I show in a question the sum of two answers given to a question before 3 years 2 months ago #100056

LimeSurvey Version + Build Version 2.00+ Build 130913
PHP Version 5.4
MySQL Version ?
Betriebssystem Win 7
Browser, etc. Netscape






How can I show in a question the summation of two answers given to a question before?

For example:

Question 2: How many people choose: a)
b)
c)
d)

Question 4: How many respondents from (Sum of Question 2a + 2c) choose the following possibilities?
blablabla


I know how to show the amount of a single answer, but not how to sum variables. Thanks!
The administrator has disabled public write access.

How can I show in a question the sum of two answers given to a question before 3 years 2 months ago #100059

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9600
  • Thank you received: 1376
  • Karma: 390
Hi,

See manual.limesurvey.org/Expression_Manager

{sum(that.Q2.NAOK)} maybe

Denis
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.

How can I show in a question the sum of two answers given to a question before 3 years 2 months ago #100088

Thank you for your answer.

I found out it is really simple:

Question 4: How many respondents from {SGQAf2a + SGQAf2c} choose the following possibilities?
blablabla
The administrator has disabled public write access.
Time to create page: 0.770 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form