<?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 Pivot Table &amp;quot;how to&amp;quot; question in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Pivot-Table-quot-how-to-quot-question/m-p/1843884#M69832</link>
    <description>&lt;P&gt;Put Qlik down for a year -- now I can't seem to remember how to do this, or if it can't be done.&lt;/P&gt;&lt;P&gt;Within a pivot table I have both Year and Years of Experience fields.&lt;/P&gt;&lt;P&gt;I want to do a calculation that divides a measure of interest in a given Year and Year of Experience by a measure from a Previous Year and one less Year of Experience.&amp;nbsp; I'm comparing this year's population against the same group last year -- last year they had one less year experience.&lt;/P&gt;&lt;P&gt;Example: Year includes 2021, 2020, 2019, .....&amp;nbsp; Years of Experience includes 0, 1, 2, 3, ...&amp;nbsp; &amp;nbsp;Measure of interest for {2021, 3) = 8; Measure of interest for {2020, 2} = 10.&amp;nbsp; The desired calculation would be 8 / 10 = 80%.&lt;/P&gt;&lt;P&gt;One example Set Analysis attempt:&amp;nbsp;=sum({$ &amp;lt;[MyYear]={"$(=[MyYear]-1)"}&amp;gt;} MyMeasure) -- just trying to get MyYear right, not worried about MyExperience yet.&lt;/P&gt;&lt;P&gt;I think I'm having a "calculated dimension" issue and that this isn't possible -- e.g. that I can't reference a year outside the defined dimension of the pivot table cell.&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;</description>
    <pubDate>Thu, 07 Oct 2021 21:58:56 GMT</pubDate>
    <dc:creator>davetrentwipro</dc:creator>
    <dc:date>2021-10-07T21:58:56Z</dc:date>
    <item>
      <title>Pivot Table "how to" question</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-quot-how-to-quot-question/m-p/1843884#M69832</link>
      <description>&lt;P&gt;Put Qlik down for a year -- now I can't seem to remember how to do this, or if it can't be done.&lt;/P&gt;&lt;P&gt;Within a pivot table I have both Year and Years of Experience fields.&lt;/P&gt;&lt;P&gt;I want to do a calculation that divides a measure of interest in a given Year and Year of Experience by a measure from a Previous Year and one less Year of Experience.&amp;nbsp; I'm comparing this year's population against the same group last year -- last year they had one less year experience.&lt;/P&gt;&lt;P&gt;Example: Year includes 2021, 2020, 2019, .....&amp;nbsp; Years of Experience includes 0, 1, 2, 3, ...&amp;nbsp; &amp;nbsp;Measure of interest for {2021, 3) = 8; Measure of interest for {2020, 2} = 10.&amp;nbsp; The desired calculation would be 8 / 10 = 80%.&lt;/P&gt;&lt;P&gt;One example Set Analysis attempt:&amp;nbsp;=sum({$ &amp;lt;[MyYear]={"$(=[MyYear]-1)"}&amp;gt;} MyMeasure) -- just trying to get MyYear right, not worried about MyExperience yet.&lt;/P&gt;&lt;P&gt;I think I'm having a "calculated dimension" issue and that this isn't possible -- e.g. that I can't reference a year outside the defined dimension of the pivot table cell.&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Oct 2021 21:58:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-quot-how-to-quot-question/m-p/1843884#M69832</guid>
      <dc:creator>davetrentwipro</dc:creator>
      <dc:date>2021-10-07T21:58:56Z</dc:date>
    </item>
  </channel>
</rss>

