Using e in qualtrics | XM Community
Skip to main content

Hello, 

Does anyone know if it’s possible to use e in qualtrics math operations?

I need to calculate prob=e^G1 where G1 is a numeric embedded data variable. I’ve tried $e{exp(${e://Field/G1})}  and $e{e^${e://Field/G1}} and I got “invalid expression” for both when testing. 

Thank you!! 

@Carolinedavies,

Since e is a constant, you could define e as an embedded data field, then use it in math operations:

e = 2.7182818284 (you could add more decimals places, but I don’t know what precision math operations support)

Then:

$e{ e://Field/e ^ e://Field/G1 }


If it’s still not working then use the same expression in a hidden question and set the value for embedded using .setEmbeddedData() as we do traditionally instead of using it from survey flow.


Leave a Reply