Enter the By variables

Graph > Heatmap
Enter one or more grouping variables in By variables to create a separate heatmap for each level of the grouping variables. The columns that you enter can be numeric or text, and must be the same length as the columns in Graph variables. The y-scales for each variable are the same across the multiple heatmaps.
Show all combinations

When you enter multiple By variables, Minitab enables the Show all combinations checkbox. Select this option to create a separate heatmap for each combination of groups created by the By variables. If you do not select this option, Minitab creates a plot for each group of each By variable.

For example, the first By variable has two groups, Male and Female, and the second By variable has two groups, Employed and Unemployed. If you select Show all combinations, Minitab creates four separate plots for the combinations of Male/Employed, Male/Unemployed, Female/Employed, and Female/Unemployed. If you do not select Show all combinations, Minitab creates four separate plots for Male, Female, Employed, and Unemployed.