Piping a response from a Pick, Group, Rank question | XM Community
Skip to main content
Question

Piping a response from a Pick, Group, Rank question


Forum|alt.badge.img+6

Hi there

I much prefer the ranking option in Pick, Group, Rank’ as it is more likely (IMO) to encourage respondents to give a faithful ranking of choices than the other ranking options available in Qualtrics.  

The challenge is the inability to pipe the response (usually the choice ranked first) into a follow up question such as ‘Why did you choose [Item ranked first] as your most preferred flavour?

I have looked around the help files and the community (and also discussed with Qualtrics support) but I can’t find a way to identify which item was ranked first.

Can anyone please help me?

Thanks in advance.

6 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5926 replies
  • January 5, 2024

@Arthur_Fletcher - You can use JavaScript to get the top ranked item and save it to an embedded data field that you can then pipe.

If you are interested, I have a general purpose JS function, captureRanks, that does this for any type of ranking question. It captures all ranks, not just highest or lowest.  It also captures group ranks for PGR questions.


Forum|alt.badge.img+32
  • Level 6 ●●●●●●
  • 241 replies
  • January 7, 2024

Forum|alt.badge.img+6

Hi TomG and ScottG

Thanks for your great answers and @TomG  I would love to see your general purpose JS function!

Thanks

Arthur


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5926 replies
  • January 8, 2024

@Arthur_Fletcher,

Here is a captureRanks demo with a PGR question:

 


Forum|alt.badge.img+6

Hi @TomG 

Thanks for the demo, which looks great!  What’s the JS that’s creating this?

Thanks

Arthur


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5926 replies
  • January 8, 2024

@Arthur_Fletcher,

Sorry, I meant to link to info on the captureRanks function previously, but forgot the link. Contact me by private message if interested.


Leave a Reply