<?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: Implementing dynamic hierarchical filtering in graph builder with local data filters in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Implementing-dynamic-hierarchical-filtering-in-graph-builder/m-p/887532#M104965</link>
    <description>&lt;P&gt;This link by &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/4550"&gt;@pmroz&lt;/a&gt;&amp;nbsp;might also be useful (with some adaptation to your situation) if you want the search results to update as you are typing:&amp;nbsp;&lt;A href="https://community.jmp.com/t5/Discussions/Searching-elements-in-listbox/td-p/380361" target="_blank"&gt;Solved: Searching elements in listbox - JMP User Community&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jul 2025 16:32:29 GMT</pubDate>
    <dc:creator>Jed_Campbell</dc:creator>
    <dc:date>2025-07-16T16:32:29Z</dc:date>
    <item>
      <title>Implementing dynamic hierarchical filtering in graph builder with local data filters</title>
      <link>https://community.jmp.com/t5/Discussions/Implementing-dynamic-hierarchical-filtering-in-graph-builder/m-p/702695#M88707</link>
      <description>&lt;P&gt;Hello JMP Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on enhancing the functionality of the Graph Builder in a JMP add-in (using JMP Pro 17.2) and require assistance in implementing a dynamic hierarchical filtering feature using local data filters. The solution I am looking for is similar to&amp;nbsp; &lt;A href="https://community.jmp.com/t5/JMP-Add-Ins/Dynamic-Subset-Add-In-Filterable-Data-Table-updated/tac-p/541349," target="_blank" rel="noopener"&gt;https://community.jmp.com/t5/JMP-Add-Ins/Dynamic-Subset-Add-In-Filterable-Data-Table-updated/tac-p/541349,&lt;/A&gt;&amp;nbsp;but should be in the graph builder interface.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, I have two local data filters in my setup:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;one for Column X (Local Data Filter 1)&lt;/LI&gt;&lt;LI&gt;another for Column Y (Local Data Filter 2)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;My objective is to establish a dynamic linkage between these filters. Specifically, when a selection is made in Local Data Filter 1 (Column X), Local Data Filter 2 (Column Y) should automatically update to display only col Y variables that are relevant to the chosen variable in col X i.e in the same row as the col X selection&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I aim to integrate this feature into a JMP add-in, which will include a straightforward Graph Builder interface accompanied by these two interconnected local data filters. My goal is to expand this functionality to accommodate more than two local data filters in the future, and I therefore seek a generalized solution in JSL form.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you provide guidance or suggest the best approach to achieve this dynamic filtering interaction? Below is an example illustrating the basic structure of the Graph Builder with the two local data filters for &lt;SPAN&gt;:workflow_id, :id_type, which I want connected&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// Define table
dt = Data Table( "dtX" );

Graph Builder(
Size( 604, 622 ),
Variables(
X( :cumulative_time_days ),
Y( :var1),
Overlay( :id )
),
Elements( Line( X, Y, Legend( 16 ) ) ),
Local Data Filter(
Add Filter(
columns( :workflow_id, :id_type ),
Display( :workflow_id, N Items( 10 ), "List Display" )
)
)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any insights or suggestions would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Nov 2023 11:25:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Implementing-dynamic-hierarchical-filtering-in-graph-builder/m-p/702695#M88707</guid>
      <dc:creator>CSkjodt</dc:creator>
      <dc:date>2023-11-25T11:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing dynamic hierarchical filtering in graph builder with local data filters</title>
      <link>https://community.jmp.com/t5/Discussions/Implementing-dynamic-hierarchical-filtering-in-graph-builder/m-p/702709#M88710</link>
      <description>&lt;P&gt;Maybe making the filter conditional is what you are looking for?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1700915503579.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59063i63BECD3A6E3A6F8E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1700915503579.png" alt="jthi_0-1700915503579.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size(525, 488),
	Show Control Panel(0),
	Variables(X(:weight), Y(:height), Overlay(:sex)),
	Elements(Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11))),
	Local Data Filter(
		Conditional,
		Add Filter(
			columns(:sex, :name),
			Display(:name, N Items(15), Find(Set Text("")))
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Nov 2023 12:31:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Implementing-dynamic-hierarchical-filtering-in-graph-builder/m-p/702709#M88710</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-11-25T12:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing dynamic hierarchical filtering in graph builder with local data filters</title>
      <link>https://community.jmp.com/t5/Discussions/Implementing-dynamic-hierarchical-filtering-in-graph-builder/m-p/702767#M88715</link>
      <description>&lt;P&gt;It was! Mindblowing that I have missed this, beautiful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot Jarmo&lt;/P&gt;</description>
      <pubDate>Sat, 25 Nov 2023 22:01:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Implementing-dynamic-hierarchical-filtering-in-graph-builder/m-p/702767#M88715</guid>
      <dc:creator>CSkjodt</dc:creator>
      <dc:date>2023-11-25T22:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing dynamic hierarchical filtering in graph builder with local data filters</title>
      <link>https://community.jmp.com/t5/Discussions/Implementing-dynamic-hierarchical-filtering-in-graph-builder/m-p/887532#M104965</link>
      <description>&lt;P&gt;This link by &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/4550"&gt;@pmroz&lt;/a&gt;&amp;nbsp;might also be useful (with some adaptation to your situation) if you want the search results to update as you are typing:&amp;nbsp;&lt;A href="https://community.jmp.com/t5/Discussions/Searching-elements-in-listbox/td-p/380361" target="_blank"&gt;Solved: Searching elements in listbox - JMP User Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 16:32:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Implementing-dynamic-hierarchical-filtering-in-graph-builder/m-p/887532#M104965</guid>
      <dc:creator>Jed_Campbell</dc:creator>
      <dc:date>2025-07-16T16:32:29Z</dc:date>
    </item>
  </channel>
</rss>

