<?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: Multiple Response - unique values in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Multiple-Response-unique-values/m-p/644655#M84134</link>
    <description>&lt;P&gt;Not sure if there are any functions to get them directly, but you could get them from Distribution platform for example&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Consumer Preferences.jmp");

dist = Distribution(Multiple Response Distribution(Column(:Floss Delimited)), invisible);
vals = Report(dist)[OutlineBox("Frequencies"), StringColBox("Level")] &amp;lt;&amp;lt; get;
dist &amp;lt;&amp;lt; Close Window;

show(vals); // vals = {"After Meal", "Before Sleep", "Other", "Wake"};
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This won't catch missing values and it will have to be checked separately from the report.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Jun 2023 12:22:39 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2023-06-21T12:22:39Z</dc:date>
    <item>
      <title>Multiple Response - unique values</title>
      <link>https://community.jmp.com/t5/Discussions/Multiple-Response-unique-values/m-p/644476#M84122</link>
      <description>&lt;P&gt;For a column with modeling type multiple response, is there a command in JSL to get the unique values?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Or do I have to generate it manually?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Open( "/C:/Program Files/SAS/JMP/17/Samples/Data/Big Class Families.jmp" );
unique_values=Associative Array(Words(Concat Items(:sports &amp;lt;&amp;lt; get values() ,","),", ")) &amp;lt;&amp;lt; get keys;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 12:46:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Multiple-Response-unique-values/m-p/644476#M84122</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-06-21T12:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Response - unique values</title>
      <link>https://community.jmp.com/t5/Discussions/Multiple-Response-unique-values/m-p/644655#M84134</link>
      <description>&lt;P&gt;Not sure if there are any functions to get them directly, but you could get them from Distribution platform for example&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Consumer Preferences.jmp");

dist = Distribution(Multiple Response Distribution(Column(:Floss Delimited)), invisible);
vals = Report(dist)[OutlineBox("Frequencies"), StringColBox("Level")] &amp;lt;&amp;lt; get;
dist &amp;lt;&amp;lt; Close Window;

show(vals); // vals = {"After Meal", "Before Sleep", "Other", "Wake"};
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This won't catch missing values and it will have to be checked separately from the report.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 12:22:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Multiple-Response-unique-values/m-p/644655#M84134</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-06-21T12:22:39Z</dc:date>
    </item>
  </channel>
</rss>

