<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Using Where() in Oneway Graph for multiple parameters in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Using-Where-in-Oneway-Graph-for-multiple-parameters/m-p/935631#M109131</link>
    <description>&lt;P&gt;What is the final layout you wish to have? Have you tried stacking your data and then running Fit Y by X?&lt;/P&gt;</description>
    <pubDate>Mon, 16 Mar 2026 14:48:23 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2026-03-16T14:48:23Z</dc:date>
    <item>
      <title>Using Where() in Oneway Graph for multiple parameters</title>
      <link>https://community.jmp.com/t5/Discussions/Using-Where-in-Oneway-Graph-for-multiple-parameters/m-p/935601#M109125</link>
      <description>&lt;P&gt;This code works because I am explicitly writing ":WaferID" inside of the Where(...) clause:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// Example Parameters&lt;BR /&gt;colParaList = {Column(dt, "Para1"), Column(dt, "Para2"), Column(dt, "Para3")};
splitPara = Column(dt, "Site");
byPara = Column(dt, "WaferID");&lt;BR /&gt;&lt;CODE class="language-jsl"&gt;&lt;BR /&gt;byParaValues &lt;/CODE&gt;= Associative Array(byPara) &amp;lt;&amp;lt; GetKeys();&lt;BR /&gt;New Window("Test", vlb = V List Box(&lt;BR /&gt;dt &amp;lt;&amp;lt; Fit Group(&lt;BR /&gt;For(iC = 1, iC &amp;lt;= NItems(colParaList), iC++, &lt;BR /&gt;Oneway(Y(Eval(colParaList[iC])), X(splitPara)) ), &lt;BR /&gt;&amp;lt;&amp;lt; {Arrange in Rows(1)}, &lt;BR /&gt;Where(:WaferID == "001"), &lt;BR /&gt;SendToReport( Dispatch( {}, "Fit Group WaferID=001", OutlineBox, {Close( 1 )} ) ) ))&lt;BR /&gt;);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This code doesn't work because I am instead using Eval(byPara).&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="language-jsl"&gt;// Example Parameters&lt;BR /&gt;colParaList = {Column(dt, "Para1"), Column(dt, "Para2"), Column(dt, "Para3")};
splitPara = Column(dt, "Site");
byPara = Column(dt, "WaferID");

byParaValues = Associative Array(byPara) &amp;lt;&amp;lt; GetKeys();&lt;BR /&gt;New Window("Test", vlb = V List Box(&lt;BR /&gt;	dt &amp;lt;&amp;lt; Fit Group(&lt;BR /&gt;		For(iC = 1, iC &amp;lt;= NItems(colParaList), iC++, &lt;BR /&gt;			Oneway(Y(Eval(colParaList[iC])), X(splitPara)) ), &lt;BR /&gt;			&amp;lt;&amp;lt; {Arrange in Rows(1)}, &lt;BR /&gt;			Where(Eval(byPara) == "001"), &lt;BR /&gt;			SendToReport( Dispatch( {}, "Fit Group" || Char(Eval(byPara) &amp;lt;&amp;lt; GetName()) || "=" || Char(byParaValues[1]), OutlineBox, {Close( 1 )} ) ) )&lt;BR /&gt;	)&lt;BR /&gt;);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Why does one of the two work, but the other doesn*t? In my expierience it also doesn't work if I replace "Eval(byPara)" by "byPara".&lt;BR /&gt;&lt;BR /&gt;My goal is to write it similarly to the second version because the script cannot assume what the 'byPara' is going to be, so it should be general. Is there a way to achieve something like this?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2026 12:39:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-Where-in-Oneway-Graph-for-multiple-parameters/m-p/935601#M109125</guid>
      <dc:creator>nozellot</dc:creator>
      <dc:date>2026-03-16T12:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using Where() in Oneway Graph for multiple parameters</title>
      <link>https://community.jmp.com/t5/Discussions/Using-Where-in-Oneway-Graph-for-multiple-parameters/m-p/935611#M109126</link>
      <description>&lt;P&gt;What are you trying to do? Run Oneway analysis over few different columns, collect those analyses to Fit Group, apply Where to limit data into single group and close one outline box? Also, which JMP version are you using?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2026 12:59:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-Where-in-Oneway-Graph-for-multiple-parameters/m-p/935611#M109126</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2026-03-16T12:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using Where() in Oneway Graph for multiple parameters</title>
      <link>https://community.jmp.com/t5/Discussions/Using-Where-in-Oneway-Graph-for-multiple-parameters/m-p/935617#M109129</link>
      <description>&lt;P&gt;I am trying to run Oneway analysis over multiple Y-parameters and multiple By-parameters, however I want the created FitGroups to be first grouped by the Y parameter and then by the By parameters. Thus both the Y and By parameternames need to be written into variables.&lt;BR /&gt;&lt;BR /&gt;I am using JMP 19.&lt;BR /&gt;&lt;BR /&gt;Thanks already.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2026 14:22:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-Where-in-Oneway-Graph-for-multiple-parameters/m-p/935617#M109129</guid>
      <dc:creator>nozellot</dc:creator>
      <dc:date>2026-03-16T14:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using Where() in Oneway Graph for multiple parameters</title>
      <link>https://community.jmp.com/t5/Discussions/Using-Where-in-Oneway-Graph-for-multiple-parameters/m-p/935631#M109131</link>
      <description>&lt;P&gt;What is the final layout you wish to have? Have you tried stacking your data and then running Fit Y by X?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2026 14:48:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-Where-in-Oneway-Graph-for-multiple-parameters/m-p/935631#M109131</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2026-03-16T14:48:23Z</dc:date>
    </item>
  </channel>
</rss>

