Rank ordering responses from a side-by-side: Display the 3 highest-rated (and lowest-rated) answers | XM Community
Skip to main content

Hi community,
I have a side-by-side that looks like this:
side-by-side.pngI need to create two lists on the next page: one with the 3 highest-ranked Trends and one with the 3 lowest-ranked Trends.
In this example, the highest-ranked table would look like this:
TOP OPPORTUNITIES

  1. Example Trend #6

  2. Example Trend #3

  3. Example Trend #1

(The other table would be Trends 2, 5, 7)
Please note that some participants will fill up all 10 blanks in the table but others will only complete a subset.
Unfortunately I don't know JavaScript, which I suspect is required for this task.
Thanks in advance for any help you can give!

Yes using JS you can create key value paire array, sort it and get top or bottom 3.


wscampbell ,
You could use JS or a web service to do it.
If you go the JS route, you'll either need to know JS or get someone to do it for you.
If you could break out the ranking into a separate question, I have a function, captureRanks, that could do the rest.


Leave a Reply