Is there a way to infer the age of participants from date of birth template question? MM,DD,YYY | Experience Community
Skip to main content
Question

Is there a way to infer the age of participants from date of birth template question? MM,DD,YYY

  • Jun 22, 2021 12:16 PM UTC
  • 1 reply
  • 56 views

Hi everyone,
I have used one of the Qualtrics library questions on date of birth (MM, DD, YYYY) and I have published my survey and got some responses from participants. I'm analyzing my data and I was wondering whether there is a way to infer the age of participants directly from the date of birth template question, so that it is shown directly in the data and analysis tab.
Thank you so much

1 reply

grahulp5
QPN Level 3 ●●●
Forum|alt.badge.img+18
  • QPN Level 3 ●●●
  • Jun 28, 2021 10:16 PM UTC

No there isn't. You'd need to analyze the age based on the year they mentioned and then just substract the year with this year and you will have your data punched.

You have to write this as a JS and then punch an embedded data via setEmbeddedData and then use that as your age factor.

You can also do the same in survey flow but will need to write a whole lot of logic. Hope this helps!