Select distribution fit > Editor > Edit Distribution Fit > Groups
Use to add, remove, or change the grouping variables on a probability plot, empirical cdf, or histogram. To add a distribution fit to a histogram, choose Editor > Add > Distribution Fit.
Categorical variables for grouping: Enter up to three columns of grouping variables to fit a separate distribution for each group and display a legend.