What are you going to do with those charts 16 reports (and then 17 tables you will have open)? I'm asking because Local Data Filter could be one option depending on what you are trying to do
Oneway(
Y(:Col3),
X(:Col4),
Plot Quantile by Actual(1),
Line of Fit(0),
Normal Quantile Label(0),
Local Data Filter(
Add Filter(
columns(:Col2),
Where(:Col2 == "V2_0"),
Display(:Col2, N Items(15))
)
),
SendToReport(
Dispatch(
{},
"1",
ScaleBox,
{Label Row({Show Major Grid(1), Show Minor Grid(1)})}
),
Dispatch(
{"Normal Quantile Plot"},
"1",
ScaleBox,
{Label Row({Show Major Grid(1), Show Minor Grid(1)})}
),
Dispatch(
{"Normal Quantile Plot"},
"2",
ScaleBox,
{Min(0.000347463516330788), Max(0.999652536483669), Inc(0.1),
Minor Ticks(0), Add Ref Line(0.5, "Dashed", "Black", "", 1)}
),
Dispatch(
{"Normal Quantile Plot"},
"Oneway QuantilePlot",
FrameBox,
{Marker Size(1), Marker Drawing Mode("Normal")}
)
)
)
Other simple solution might be using By
After exploring those options I would start thinking about looping if needed.
-Jarmo