Referring to the this link Prediction In Tableau I am making a logistic regression model in Tableau using R script.
Every time i get the error
Error in
contrasts<-
(*tmp*
, value = contr.funs[1 + isOF[nn]]) : contrasts can be applied only to factors with 2 or more levels
Need to build a nested calculation in tableau but not sure what is the hierarchy tableau follow. Need to give users a filter which they can select and see the probability of purchase.
Attached is the sample workbook as well.