To run a control charts analysis, from the menus choose:

Graphs
Control...

Select p, np.

Select Cases are subgroups.

Click Define.

Select Number defective as the variable representing the number of nonconforming units.

Select Lot number as the variable that labels the subgroups.

Select Variable in the Sample Size group and select Number sampled as the variable containing the sample sizes.

Click OK.

These selections produce a p chart.