A t-test error occurs stating "The explanatory variable needs to have 2 unique values."

In t-tests, there is a constraint that the explanatory variable values must be limited to two categories (e.g., only male and female).

If you want to perform a test using a column with three or more values, you can use “One Way ANOVA” to execute without errors.

Alternatively, if you want to use a t-test, you can narrow down the number of explanatory variable values using the analytics filter.