Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set analysis for creating groups in TTEST_SIG function

Hi,

I want to create two groups from data given below to be used in the function :

TTest_sig ( [set_expression][ total [<fld {,fld}>]] group, value)

GEOGRAPHYSALES
A50
A43
A23
A65
B19
B53
B11
B62
C11
C89

Currently I am using:

TTest_sig(If(GEOGRAPHY='A' or GEOGRAPHY='B',GEOGRAPHY),SALES)

But the problem is I have a GEOGRAPHY list box and whenever the user selects a geography from this list box the data gets filtered for that geography and Ttest function returns a null. How can I nullify this selection in Ttest function?

Thanks & Regards,

Amit

Labels (1)
2 Replies
MK_QSL
MVP
MVP

Can you provide little more information about your requirements?

Not applicable
Author

Hi Manish,

Thanks for quick reply.I need to find the p-value using ttest between Geography A and B. So in my Ttest function these two geographies will be static i.e. the Geography list box should not impact this. Whereas I have few other list boxes and the selections made in these list boxes will filter the data. For e.g. I may have a Products listbox. So in case a product is selected the p value will be for Geographies A and B for selected product.