p value is a slam dunk for Qlik. Here is the help file link:
Quite remarkable the depth of statistical functions within the Qlik platform.
Thanks Paul. I have since found ttest_sig is the closest function I can get to calculate p-value. However in my case I hope to get paired t-tests, while this function can only get t test on two independent samples (https://help.qlik.com/en-US/sense/3.2/Subsystems/Hub/Content/ChartFunctions/StatisticalTestFunctions/ttest/t_tests.htm). It seems that QlikView has paired t-tests. But I cannot seem to find it in Qlik Sense...