When running a “GLM - Binomial Distribution” or “Logistic Regression” model, you may encounter the following error:
"Column to predict ‘selected column name’ with Binomial Regression must have 2 unique values."
This error occurs when the column selected as the target variable contains only TRUE or only FALSE values.
In many cases, this happens due to data being filtered down, or because the numeric columns selected as explanatory variables contain missing values, which causes the corresponding rows to be excluded from the model.
Therefore, if this error appears, please review the current selection of explanatory variables and the filter settings.