Calculating Row Totals and Percentages in Text Entry Table | XM Community
Question

Calculating Row Totals and Percentages in Text Entry Table

  • 16 February 2020
  • 2 replies
  • 33 views

I'm working on a side by side table that needs to calculate column totals, row totals, and the percent of the grand total for each row. I've been able to use JavaScript to get column totals, but not the row totals or percentages. What code will work for getting row totals and the percentage of the grand total for each row? I'm completely lost.

2 replies

Userlevel 3
Badge +2
Have you looked into this response on the Community?

https://www.qualtrics.com/community/discussion/386/add-a-constant-sum-row-to-a-side-by-side-question
@C_Bohn Yes, I looked at this response. Unfortunately, it doesn't answer my question because the original poster was trying to get a column sum, not a row sum. I need to add a constant sum column (a column that totals up row values).

Leave a Reply