What is the easiest/best way to take Qualtrics data from one survey and import it into another? | XM Community
Question

What is the easiest/best way to take Qualtrics data from one survey and import it into another?

  • 23 June 2020
  • 4 replies
  • 16 views

Userlevel 3
Badge +13
  • QPN Level 2 ●●
  • 42 replies

The two surveys are the same except the most recent survey has some additional questions at the end. The other issue is that there is Java at the beginning of the surveys that takes data from a dropdown and parses it. So when I try to export from one file and import to another, the three fields that use the dropdowns are blank. I think I need to figure out how to run this java on the import somehow. Our Qualtrics implementation specialist is the person who put this Java in, but Qualtrics Support doesn't support it.
Qualtrics.SurveyEngine.addOnload(function()
{

function sortStrings(a, b) {
if (a.toLowerCase() < b.toLowerCase()) {
return -1;
}
else if(a.toLowerCase() > b.toLowerCase()) {
return 1;
}
else {
return 0;
}
}

function parseEDList(EDList, field) {
var EDListArray = EDList.split(";");
EDListArray.sort(sortStrings);
for (var i = 0; i < EDListArray.size(); i++) {
var separatedED = field + (i+1);
console.log(separatedED + " " + EDListArray[i]);
if (EDListArray[i] != ""){
Qualtrics.SurveyEngine.setEmbeddedData(separatedED, EDListArray[i]);
}
}
}

parseEDList("${e://Field/RecruiterList}", "QRecruiter");
parseEDList("${e://Field/DepartmentList}", "QDepartment");
parseEDList("${e://Field/JobTitleList}", "QJobTitle");


});


4 replies

Userlevel 5
Badge +4

Please go through the below link, it may help you.
https://www.qualtrics.com/support/survey-platform/common-use-cases-rc/pulling-data-into-a-second-survey-longitudinal-surveys/

Userlevel 3
Badge +13

Suraj,
What I have is two identical surveys and I need to put the raw data from one survey into another. Both surveys are in use. The client used an incorrect link to the first and I need to get their data in with the correct data in the survey they should have used as we are segmenting due to Covid-19. I hope that makes it more clear.

Userlevel 7
Badge +22

You can export the data and then import in the actual survey. Check this link for steps.

Userlevel 3
Badge +13

Unfortunately Rondey, with the JavaScript, this doesn't work.

Leave a Reply