<?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: [JSL] Local Data Filter Selection Not Being Applied When Generating Table of Graphs in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JSL-Local-Data-Filter-Selection-Not-Being-Applied-When/m-p/277878#M53978</link>
    <description>&lt;P&gt;Hmm, when I run your script I get PNP5 within spec in the histogram:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="martindemel_0-1594382860583.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/25238i50A2AFC515321488/image-size/medium?v=v2&amp;amp;px=400" role="button" title="martindemel_0-1594382860583.png" alt="martindemel_0-1594382860583.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you show your results?, e.g. providing the resulting data table?&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jul 2020 12:09:14 GMT</pubDate>
    <dc:creator>martindemel</dc:creator>
    <dc:date>2020-07-10T12:09:14Z</dc:date>
    <item>
      <title>[JSL] Local Data Filter Selection Not Being Applied When Generating Table of Graphs</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Local-Data-Filter-Selection-Not-Being-Applied-When/m-p/277257#M53873</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am trying to create a table of histograms that have had a local data filter applied to only display a subset of the data.&amp;nbsp; However, when I review the pictures in the table, the histograms are displaying plots for all available data.&amp;nbsp; In the sample JSL below. I have used the Semiconductor Capability.jmp sample data file. For example, if the filter is being applied ( for lot_id = "lot09"), all measurements for the PNP5 column should be within spec limits.&amp;nbsp; (I'm not sure if this is pertinent, but I am using JMP 14.3.0 on Windows 10).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;AW&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Semiconductor Capability.jmp" );

//************************************************************************************************************************************************************************************************************
// Set Graph Reference Limits
//***********************************************************************************************************************************************************************************************************
Wait( 0.5 );
Set_Graph_Lines = Manage Spec Limits( Y( dt &amp;lt;&amp;lt; Get Column Group( "Processes" ) ) );
Set_Graph_Lines &amp;lt;&amp;lt; Show Limits All( 1 );
Set_Graph_Lines &amp;lt;&amp;lt; Save to Column Properties( 1 );

//************************************************************************************************************************************************************************************************************
// Generate Table of Histograms
//***********************************************************************************************************************************************************************************************************
HistPics = New Table( "Table of Histograms",  
		New Column( "Histograms", Expression, "None", Set Values( {} ),Set Display Width( 300 ) ),
		New Column( "Parameter", Character, "Nominal", Set Values( {} ),Set Display Width( 200 ) ) );

// Generate List of Column Names as a list of Strings to Use as parameter column name in datatable cells
//----------------------------------------------------------------------------------------------------------
Cols_List_String = dt &amp;lt;&amp;lt; Get Column Names( "String");
Cols_List_String_Cnt = N Items( Cols_List_String );

For( j = 1, j &amp;lt;= Cols_List_String_Cnt, j++,
	Gen_Distribution = dt &amp;lt;&amp;lt; Distribution(
		Column( dt:j ), 
		Quantiles( 0 ), 
		Outlier Box Plot( 0 ),
		PpK Capability Labeling( 0 ),
		Capability Analysis (0),
		Frequencies(0),
		Summary Statistics(0),
		Local Data Filter(		
			Grouped by AND( 1 ),
			Add Filter(
				columns( :lot_id ),
				Where( :lot_id == "lot09" ),
				Display( :lot_id, Size( 181, 136 ), List Display )))
	);
	pic = (Report( Gen_Distribution )) &amp;lt;&amp;lt; getpicture;  //Neither local data filter selection nor spec limit reference lines are being captured
	Gen_Distribution &amp;lt;&amp;lt; closewindow();
    ParmName = Cols_List_String[j];
	HistPics &amp;lt;&amp;lt; addrows( 1 );
	HistPics:Histograms[j] = pic;
	HistPics:Parameter[j] = ParmName;
);
HistPics&amp;lt;&amp;lt;Set Cell Height( 165 );

Set_Graph_Lines  &amp;lt;&amp;lt; Close Window;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:31:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Local-Data-Filter-Selection-Not-Being-Applied-When/m-p/277257#M53873</guid>
      <dc:creator>AW</dc:creator>
      <dc:date>2023-06-09T23:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: [JSL] Local Data Filter Selection Not Being Applied When Generating Table of Graphs</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Local-Data-Filter-Selection-Not-Being-Applied-When/m-p/277878#M53978</link>
      <description>&lt;P&gt;Hmm, when I run your script I get PNP5 within spec in the histogram:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="martindemel_0-1594382860583.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/25238i50A2AFC515321488/image-size/medium?v=v2&amp;amp;px=400" role="button" title="martindemel_0-1594382860583.png" alt="martindemel_0-1594382860583.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you show your results?, e.g. providing the resulting data table?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 12:09:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Local-Data-Filter-Selection-Not-Being-Applied-When/m-p/277878#M53978</guid>
      <dc:creator>martindemel</dc:creator>
      <dc:date>2020-07-10T12:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: [JSL] Local Data Filter Selection Not Being Applied When Generating Table of Graphs</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Local-Data-Filter-Selection-Not-Being-Applied-When/m-p/277881#M53979</link>
      <description>I checked in 14.3 and I see what you mean. There might be a bug which has been fixed. Best to ask Tech Support for clarification. &lt;BR /&gt;(support@jmp.com). My results shown above were done with JMP 15.1</description>
      <pubDate>Fri, 10 Jul 2020 12:12:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Local-Data-Filter-Selection-Not-Being-Applied-When/m-p/277881#M53979</guid>
      <dc:creator>martindemel</dc:creator>
      <dc:date>2020-07-10T12:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: [JSL] Local Data Filter Selection Not Being Applied When Generating Table of Graphs</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Local-Data-Filter-Selection-Not-Being-Applied-When/m-p/277996#M53988</link>
      <description>&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2742"&gt;@martindemel&lt;/a&gt; Thank you for helping to dig into this issue. I ended up submitting a tech support ticket and, through a bit of experimentation, we figured out that if a wait(0) statement is inserted between the creation of the Distribution report and the GetPicture statement in my original code, the issue goes away (although there is a considerable slow down). The &amp;lt;&amp;lt; Update Window command also corrects the issue, but does not cause the code execution slowdown the wait () statement. Thanks, AW</description>
      <pubDate>Fri, 10 Jul 2020 16:49:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Local-Data-Filter-Selection-Not-Being-Applied-When/m-p/277996#M53988</guid>
      <dc:creator>AW</dc:creator>
      <dc:date>2020-07-10T16:49:10Z</dc:date>
    </item>
  </channel>
</rss>

