<?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: How to make operation between column in a Pivot Table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-make-operation-between-column-in-a-Pivot-Table/m-p/1956668#M78882</link>
    <description>&lt;P&gt;Hello Sidhiq91,&lt;BR /&gt;&lt;BR /&gt;Unfortunately it doesn't and send 0 for each value &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;If i set the expression to :&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sum({&amp;lt;Year={"$(=Max(Year))"}&amp;gt;}Sales)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Every value is equal to zero EXCEPT for the colum equivalent to max year (in this case 2020), same process if i put max(year)-1 -&amp;gt; 2019, etc.&lt;BR /&gt;&lt;BR /&gt;The expression doesn't seem to work if the &amp;lt;Year&amp;gt; is not correspondant to the collumn selection, witch i don't understand at all&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jul 2022 19:37:25 GMT</pubDate>
    <dc:creator>Cap</dc:creator>
    <dc:date>2022-07-15T19:37:25Z</dc:date>
    <item>
      <title>How to make operation between column in a Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-make-operation-between-column-in-a-Pivot-Table/m-p/1956156#M78834</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;here is a screen of the data:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d’écran (219).png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84236iCCC25B886592D4D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture d’écran (219).png" alt="Capture d’écran (219).png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to be able to make a Current Year / Last Year Ratio (for example 114.24€/38.15€) but i can't find the correct expression for it.&lt;BR /&gt;&lt;BR /&gt;I tried:&lt;BR /&gt;&lt;BR /&gt;sum({&amp;lt;Year={"$(=Year)"}&amp;gt;}Sales)/sum({&amp;lt;Year={"$(=Year-1)"}&amp;gt;}Sales)&lt;BR /&gt;&lt;BR /&gt;It is returning me a null value unfortunately &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;What am i missing please ?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 21:33:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-make-operation-between-column-in-a-Pivot-Table/m-p/1956156#M78834</guid>
      <dc:creator>Cap</dc:creator>
      <dc:date>2022-07-14T21:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to make operation between column in a Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-make-operation-between-column-in-a-Pivot-Table/m-p/1956170#M78835</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/185661"&gt;@Cap&lt;/a&gt;&amp;nbsp; I see the approach is right for calculating the ratio. Would you make the changes as shown below and see if that is working for you.&lt;/P&gt;
&lt;P&gt;(Sum({&amp;lt;Year={"$(=Max(Year))"}&amp;gt;}Sales)/Sum({&amp;lt;Year={"$(=Max(Year)-1)"}&amp;gt;}Sales))&lt;/P&gt;
&lt;P&gt;If it did, please like and accept it as a solution.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 01:26:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-make-operation-between-column-in-a-Pivot-Table/m-p/1956170#M78835</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2022-07-15T01:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to make operation between column in a Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-make-operation-between-column-in-a-Pivot-Table/m-p/1956668#M78882</link>
      <description>&lt;P&gt;Hello Sidhiq91,&lt;BR /&gt;&lt;BR /&gt;Unfortunately it doesn't and send 0 for each value &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;If i set the expression to :&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sum({&amp;lt;Year={"$(=Max(Year))"}&amp;gt;}Sales)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Every value is equal to zero EXCEPT for the colum equivalent to max year (in this case 2020), same process if i put max(year)-1 -&amp;gt; 2019, etc.&lt;BR /&gt;&lt;BR /&gt;The expression doesn't seem to work if the &amp;lt;Year&amp;gt; is not correspondant to the collumn selection, witch i don't understand at all&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 19:37:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-make-operation-between-column-in-a-Pivot-Table/m-p/1956668#M78882</guid>
      <dc:creator>Cap</dc:creator>
      <dc:date>2022-07-15T19:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to make operation between column in a Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-make-operation-between-column-in-a-Pivot-Table/m-p/1956712#M78890</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/185661"&gt;@Cap&lt;/a&gt;&amp;nbsp; Could you please provide me some sample data? Let me try to work it out for you.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jul 2022 02:29:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-make-operation-between-column-in-a-Pivot-Table/m-p/1956712#M78890</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2022-07-16T02:29:10Z</dc:date>
    </item>
  </channel>
</rss>

