<?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: Create a measure in pivot table that compares the field value of two dimensions in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Create-a-measure-in-pivot-table-that-compares-the-field-value-of/m-p/1701823#M53750</link>
    <description>&lt;P&gt;Hi Kcville,&lt;/P&gt;&lt;P&gt;You can simply try this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;((Sum(${&amp;lt;Year={'2019'}&amp;gt;}Sales)) -&amp;nbsp;Sum(${&amp;lt;Year={'2018'}&amp;gt;}Sales))) /&amp;nbsp;Sum(${&amp;lt;Year={'2018'}&amp;gt;}Sales)) ) *100&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Note: You can create variable for hard coded&amp;nbsp;years to make it dynamic.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Br,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;KC&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 14 May 2020 04:16:38 GMT</pubDate>
    <dc:creator>jyothish8807</dc:creator>
    <dc:date>2020-05-14T04:16:38Z</dc:date>
    <item>
      <title>Create a measure in pivot table that compares the field value of two dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Create-a-measure-in-pivot-table-that-compares-the-field-value-of/m-p/1701822#M53749</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have a pivot table with Department rows and columns of Years.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a measure of Sum of Sales, how do I create a new measure that gives me the % increase from the Sum of Sales 2018 to Sum of Sales 2019.&lt;/P&gt;&lt;P&gt;I tried to use Set Analysis, e.g. if I create a measure like this...&lt;/P&gt;&lt;P&gt;Sum(${&amp;lt;Year={'2018'}&amp;gt;}Sales))&lt;/P&gt;&lt;P&gt;What I want to see from that expression was the Sum of Sales for 2018 in each Dimension/Year (this is just a test as I know I want % increase), but I just get zeros and only results for dimension for 2018.&amp;nbsp; Ie I want to be able to reference the results from the previous year.&lt;/P&gt;&lt;P&gt;Help would be appreciated as I have spent far too long on this now.&lt;/P&gt;&lt;P&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:26:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-a-measure-in-pivot-table-that-compares-the-field-value-of/m-p/1701822#M53749</guid>
      <dc:creator>kcville</dc:creator>
      <dc:date>2024-11-16T02:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create a measure in pivot table that compares the field value of two dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Create-a-measure-in-pivot-table-that-compares-the-field-value-of/m-p/1701823#M53750</link>
      <description>&lt;P&gt;Hi Kcville,&lt;/P&gt;&lt;P&gt;You can simply try this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;((Sum(${&amp;lt;Year={'2019'}&amp;gt;}Sales)) -&amp;nbsp;Sum(${&amp;lt;Year={'2018'}&amp;gt;}Sales))) /&amp;nbsp;Sum(${&amp;lt;Year={'2018'}&amp;gt;}Sales)) ) *100&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Note: You can create variable for hard coded&amp;nbsp;years to make it dynamic.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Br,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;KC&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 04:16:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-a-measure-in-pivot-table-that-compares-the-field-value-of/m-p/1701823#M53750</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2020-05-14T04:16:38Z</dc:date>
    </item>
  </channel>
</rss>

