Can't change focus to Current Data Table<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />I've created a summary table and now I'd like to manipulate the Summary Table and create a graph from it.....

But I can't seem to get the 'Current Data Table' command to work..... (see screenshot above)....
Re: Can't change focus to Current Data TableMS --- thanks ---- they both worked....
Re: Can't change focus to Current Data TableI don't think For Each Row() can be used as a message in the JSL syntax. Think of it as a function that applies to the current data table.
Try either to first make sure that PeretoTable is the current data table and then the row-wise concat:
ParetoTable=current data table();
for each row(ProblemProductCategory_ = :Order||:ProblemProductCategory);
Or use the dt:col syntax to explicitly address the columns:
for each row(ParetoTable:ProblemProductCategory_ = ParetoTable:Order||ParetoTable:ProblemProductCategory);
Re: Can't change focus to Current Data TableI'm still having problems understanding what I can and can't do with a separate dataTable....
For the Summary table I've successfully created two new columns, populated another with data and now I'm trying to concatenate two columns on the Summary table called 'ParetoTable'...
| ParetoTable << For each Row(:ProductProblemCategory_=:Order || :ProductProblemCategory); |
Nothing happens --- see log screenshot ------ but occasionally I get an error in the log saying that 'ProductProblemCategory_' is not an L-value...etc..

Re: Can't change focus to Current Data TableThanks ---- Obviously I was confused --- thanks for clearing that up for me
Re: Can't change focus to Current Data Tabledt is not supposed to change here. The table variable dt still linked to the original table because you have not reassigned it.
In the code you assign the summary table to the table variable summary_table_name (you can use almost any name). To sort that table use
summary_table_name<< sort(...);
If you want to make jmp to forget dt and reuse that name for the summary table, try:
dt = dt << summary(...) ;
But that's not wise if you'll need to address the original table later in the script. Look
Re: Can't change focus to Current Data Tablewiebepo --- thanks ----
It still is not switching to the Summary Table ---- it remains with the original datatable (which is called 'Script_temp') ---- you can see from the debug screen that 'dt' is still showing the original table and not the summary table after executing:
summary_table_name=dt<

Re: Can't change focus to Current Data Tableconsider using the following syntax to give a handle to your summary table:
summary_table_name=dt<
dt<
summary_table_name<