Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Use Equation type question to store sum of Array (texts) - numeric only?

  • blocka
  • blocka's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
6 years 8 months ago #163799 by blocka
I have a "personal budget" question that uses Array (texts) to list with a single column, to list common household budget items. I also have this set up to show totals for the column.

I'd like to store the total of this array in an Equation type question -- I could write an equation that adds the totals for each row, but I'm wondering if there is a simpler way (just a whole question sum?)
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 8 months ago #163802 by Joffm
Hi, blocka,
just use: sum(that.your_question_code).

www.limesurvey.org/manual/Expression_Man....27that.27_variables

Regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose