Custom Matrix tables's number of row from piped answers | XM Community
Skip to main content
Solved

Custom Matrix tables's number of row from piped answers

  • March 3, 2022
  • 4 replies
  • 136 views

Forum|alt.badge.img

Hi the community,
I have a question regarding the matrix tables. I am trying to adjust the matrix table's column number based on the the previous question.
For example, the previous question, I have 5 as answer and I want that my matrix table has 5 columns or rows. What should I do ?
Should I code something or there is already some functions that I can use?
Thank you for your help!
Qualtrics newbies!

Best answer by MatthewM

Hi myouhu ,
I would suggest trying to add Display Logic at the column or row level. You can set the columns to appear only when the correct value is entered or selected in the previous question.
image.png
image.png

4 replies

wpm24
Level 2 ●●
Forum|alt.badge.img+8
  • Level 2 ●●
  • March 3, 2022

Before jumping into code - How many potential iterations would you have? For example, if a participant could select 1, 2, 3, 4, or 5 I would just use branching logic to show them a matrix with the correct relative number of rows/columns. If you have a great deal of possibilities (e.g., 1, 2, 3.....100...N) this would be taxing for you on the development end I would suppose.


Forum|alt.badge.img
  • Author
  • March 3, 2022

Hi Wmp24,
I can go until 9 anwers (from 1 to 9), which is quiet a lot. That means I have to reiterate the branch logic 9 times ... But still it is a solution.

Best,
myouhu


MatthewM
Level 6 ●●●●●●
Forum|alt.badge.img+30
  • Level 6 ●●●●●●
  • Answer
  • March 3, 2022

Hi myouhu ,
I would suggest trying to add Display Logic at the column or row level. You can set the columns to appear only when the correct value is entered or selected in the previous question.
image.png
image.png


Forum|alt.badge.img
  • Author
  • March 3, 2022

Thank you for your answers, that is very helpful!

Myouhu