Using Max function in Scoring | XM Community
Skip to main content
Solved

Using Max function in Scoring

  • August 13, 2024
  • 2 replies
  • 56 views

Forum|alt.badge.img+1

Hello all!

We have a questionnaire that we would like to score at the end of the survey, but only score the higher response in each item.
For example, in item 1 they answer two questions: "Az elmúlt 6 hónapban" and "Valaha". The scoring is set up as you can see in the attached screenshot.


What we would like to do is: If the respondent answers "0" to the first question, but "2" to the second question (e.g. see attached screenshot), we would like to score it as a "2". However, if the respondent replies with "1" to the first question and "0" to the second question, then again we would like to go with the higher score and score it as a 1.

 

 

Is this possible?

AI support suggested using something called Max function within the scoring options, but we couldn’t find it, and it couldn’t explain further.

 

All help is appreciated!

Best answer by ahmedA

I don’t think there’s a max operator. However, you could use branch logic to get the desired result. Create one score category for the first row and a second one for the second. Then compare if score 1> score 2, set and ED to the value of score 1 and vice versa.

 

2 replies

Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • 2050 replies
  • Answer
  • August 13, 2024

I don’t think there’s a max operator. However, you could use branch logic to get the desired result. Create one score category for the first row and a second one for the second. Then compare if score 1> score 2, set and ED to the value of score 1 and vice versa.

 


Forum|alt.badge.img+1
  • Author
  • 1 reply
  • August 15, 2024

We will look into that, thank you!