<?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 How to create a calculated column similar to pivot table in Excel? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-create-a-calculated-column-similar-to-pivot-table-in/m-p/7264#M7258</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to use graph builder to slice and dice attrition data. In Excel I would use what is called a calculated field within a pivot table.&lt;/P&gt;&lt;P&gt;My data would look like the attached, where I can select any field as row(s)s or column(s) and the attrition rate would update dynamically since its a caculated field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I do this in JMP? I tried HC/TER and sum(HC)/sum(TER). I did this in the data detail as as a separate column. Neither worked since they only caculate once at the individual level. I need something that will&lt;/P&gt;&lt;P&gt;perform the caculation on update.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Aug 2013 23:07:12 GMT</pubDate>
    <dc:creator>danlopez</dc:creator>
    <dc:date>2013-08-14T23:07:12Z</dc:date>
    <item>
      <title>How to create a calculated column similar to pivot table in Excel?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-create-a-calculated-column-similar-to-pivot-table-in/m-p/7264#M7258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to use graph builder to slice and dice attrition data. In Excel I would use what is called a calculated field within a pivot table.&lt;/P&gt;&lt;P&gt;My data would look like the attached, where I can select any field as row(s)s or column(s) and the attrition rate would update dynamically since its a caculated field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I do this in JMP? I tried HC/TER and sum(HC)/sum(TER). I did this in the data detail as as a separate column. Neither worked since they only caculate once at the individual level. I need something that will&lt;/P&gt;&lt;P&gt;perform the caculation on update.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 23:07:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-create-a-calculated-column-similar-to-pivot-table-in/m-p/7264#M7258</guid>
      <dc:creator>danlopez</dc:creator>
      <dc:date>2013-08-14T23:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a calculated column similar to pivot table in Excel?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-create-a-calculated-column-similar-to-pivot-table-in/m-p/7265#M7259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think JMP can do exactly that, with an arbitrary formula evaluated over the dynamic grouping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you know the grouping and can create a formula, be sure to use the Col functions and provide the grouping column(s) as BY variable(s):&amp;nbsp;&amp;nbsp; Col Sum( :HC, :KeyEE ) / Col Sum( :TER, :KeyEE )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise you can compare sums (inferring the ratio) with a table in Tabulate:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4055_hier1.png" style="width: 314px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/234i7FEB218311824145/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4055_hier1.png" alt="4055_hier1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Or graphically in Graph Builder:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4056_hier2.png" style="width: 390px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/235iB44CE9E37AC50E08/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4056_hier2.png" alt="4056_hier2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 20:22:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-create-a-calculated-column-similar-to-pivot-table-in/m-p/7265#M7259</guid>
      <dc:creator>XanGregg</dc:creator>
      <dc:date>2016-10-18T20:22:58Z</dc:date>
    </item>
  </channel>
</rss>

