<?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: Quantifying how many rows selected in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Quantifying-how-many-rows-selected/m-p/522883#M74764</link>
    <description>&lt;P&gt;Thanks for that suggestion...&amp;nbsp; I'm being dumb, though...&amp;nbsp; How do I put that on my dashboard as an element that provides the summary statistic there (without having to go back to the data table)&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jul 2022 16:49:19 GMT</pubDate>
    <dc:creator>CSSanderson</dc:creator>
    <dc:date>2022-07-18T16:49:19Z</dc:date>
    <item>
      <title>Quantifying how many rows selected</title>
      <link>https://community.jmp.com/t5/Discussions/Quantifying-how-many-rows-selected/m-p/522834#M74757</link>
      <description>&lt;P&gt;This has to be possible...&amp;nbsp; Is there an easy way to quantify the number of rows selected (and ideally the percent of rows selected) and display it on a dashboard?&amp;nbsp; I know that I can go back to the raw data table and see the number Selected in the Rows area - I'd like to pull that onto a dashboard...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Specific example - here's gas flow through a panel data.&amp;nbsp; How many cells are highlighted as a fraction of the total?&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CSSanderson_1-1658160679561.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44086i4D691AA954277B2A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CSSanderson_1-1658160679561.png" alt="CSSanderson_1-1658160679561.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I can go back to the data table and see that it's 2270 rows, so the data's available...&amp;nbsp; I'd just like to put it on the dashboard&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Charles&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 20:51:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Quantifying-how-many-rows-selected/m-p/522834#M74757</guid>
      <dc:creator>CSSanderson</dc:creator>
      <dc:date>2023-06-10T20:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Quantifying how many rows selected</title>
      <link>https://community.jmp.com/t5/Discussions/Quantifying-how-many-rows-selected/m-p/522868#M74760</link>
      <description>&lt;P&gt;One option is to create formula column with following formula to get 1 when column is selected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Selected()&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you only care about total you can then count them from that formula column or possibly use Col Sum directly in the formula&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Col Sum(Selected())&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;See &lt;LI-MESSAGE title="Special Formula Columns" uid="257371" url="https://community.jmp.com/t5/JMP-On-Air/Special-Formula-Columns/m-p/257371#U257371" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-tkb-thread lia-fa-icon lia-fa-tkb lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt; for more fancy uses for special formula columns like that.&lt;/P&gt;
&lt;P&gt;Other option is to use Row State Handler (or Graphic Script) with something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;N Items(Current data Table() &amp;lt;&amp;lt; Get Selected Rows)&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 16:35:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Quantifying-how-many-rows-selected/m-p/522868#M74760</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-07-18T16:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Quantifying how many rows selected</title>
      <link>https://community.jmp.com/t5/Discussions/Quantifying-how-many-rows-selected/m-p/522883#M74764</link>
      <description>&lt;P&gt;Thanks for that suggestion...&amp;nbsp; I'm being dumb, though...&amp;nbsp; How do I put that on my dashboard as an element that provides the summary statistic there (without having to go back to the data table)&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 16:49:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Quantifying-how-many-rows-selected/m-p/522883#M74764</guid>
      <dc:creator>CSSanderson</dc:creator>
      <dc:date>2022-07-18T16:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Quantifying how many rows selected</title>
      <link>https://community.jmp.com/t5/Discussions/Quantifying-how-many-rows-selected/m-p/522892#M74766</link>
      <description>&lt;P&gt;I don't really use Dashboards (I build my own windows) so I don't know if this is the only method.. but I think you can create new element with some platform (Graph Builder, Tabulate comes to my mind) and then add that to the dashboard. Here is very very quick example with Tabulate using the &lt;EM&gt;Selected()&lt;/EM&gt; formula in column called &lt;STRONG&gt;Rows Selected&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1658163193012.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44092i6C4CB06AE6818446/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1658163193012.png" alt="jthi_0-1658163193012.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 16:55:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Quantifying-how-many-rows-selected/m-p/522892#M74766</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-07-18T16:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Quantifying how many rows selected</title>
      <link>https://community.jmp.com/t5/Discussions/Quantifying-how-many-rows-selected/m-p/522957#M74774</link>
      <description>&lt;P&gt;The percent selected would simply be&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt=current data table();
percentSelected = N Items( dt &amp;lt;&amp;lt; get selected rows ) / N Rows( dt );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Jul 2022 17:53:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Quantifying-how-many-rows-selected/m-p/522957#M74774</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-07-18T17:53:26Z</dc:date>
    </item>
  </channel>
</rss>

