<?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 get 'difference' from today's - sales amount minus yesterday's sales amount in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-get-difference-from-today-s-sales-amount-minus-yesterday-s/m-p/2465852#M99210</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I not familiar in Qliksense and need help on below logic.&lt;BR /&gt;basically i have populate &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;'Difference'&lt;/FONT&gt; &lt;/STRONG&gt;column in &lt;STRONG&gt;table&lt;/STRONG&gt; &lt;EM&gt;(not in report)&lt;/EM&gt;. To find the 'Sales difference' by calculating Today's 'Sales Amount' minus Yesterday's &lt;BR /&gt;'Sales Amount' to generate the column 'Difference' as attached in data table. and it has to be by &lt;BR /&gt;SaleID, Desc, Reported Date and Sale Date. for more details please find the attached sample data excel. where it has excel formula to populate 'Difference' column.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Sample data.png" style="width: 622px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/168539i84A6FE10EE64D3A5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Sample data.png" alt="Sample data.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards&lt;BR /&gt;Loga&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 20:56:06 GMT</pubDate>
    <dc:creator>loganathan</dc:creator>
    <dc:date>2024-11-15T20:56:06Z</dc:date>
    <item>
      <title>How get 'difference' from today's - sales amount minus yesterday's sales amount</title>
      <link>https://community.qlik.com/t5/App-Development/How-get-difference-from-today-s-sales-amount-minus-yesterday-s/m-p/2465852#M99210</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I not familiar in Qliksense and need help on below logic.&lt;BR /&gt;basically i have populate &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;'Difference'&lt;/FONT&gt; &lt;/STRONG&gt;column in &lt;STRONG&gt;table&lt;/STRONG&gt; &lt;EM&gt;(not in report)&lt;/EM&gt;. To find the 'Sales difference' by calculating Today's 'Sales Amount' minus Yesterday's &lt;BR /&gt;'Sales Amount' to generate the column 'Difference' as attached in data table. and it has to be by &lt;BR /&gt;SaleID, Desc, Reported Date and Sale Date. for more details please find the attached sample data excel. where it has excel formula to populate 'Difference' column.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Sample data.png" style="width: 622px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/168539i84A6FE10EE64D3A5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Sample data.png" alt="Sample data.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards&lt;BR /&gt;Loga&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 20:56:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-get-difference-from-today-s-sales-amount-minus-yesterday-s/m-p/2465852#M99210</guid>
      <dc:creator>loganathan</dc:creator>
      <dc:date>2024-11-15T20:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: How get 'difference' from today's - sales amount minus yesterday's sales amount</title>
      <link>https://community.qlik.com/t5/App-Development/How-get-difference-from-today-s-sales-amount-minus-yesterday-s/m-p/2465887#M99215</link>
      <description>&lt;P&gt;Use Sum(Sale Amount) as a measure, name it Amount, then use this formula:&lt;/P&gt;
&lt;P&gt;Amount - Above(Total Amount, 1, 1)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lisa_P_0-1719444957409.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/168549i9EAAB753F4A769C6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Lisa_P_0-1719444957409.png" alt="Lisa_P_0-1719444957409.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 23:36:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-get-difference-from-today-s-sales-amount-minus-yesterday-s/m-p/2465887#M99215</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2024-06-26T23:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: How get 'difference' from today's - sales amount minus yesterday's sales amount</title>
      <link>https://community.qlik.com/t5/App-Development/How-get-difference-from-today-s-sales-amount-minus-yesterday-s/m-p/2465920#M99216</link>
      <description>&lt;P&gt;Hi Lisa,&lt;/P&gt;
&lt;P&gt;Thanks for your effort. but i want this to be created in table means in 'edit script' as a field. and its has to grouped by Reported date and SaleID.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 05:07:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-get-difference-from-today-s-sales-amount-minus-yesterday-s/m-p/2465920#M99216</guid>
      <dc:creator>loganathan</dc:creator>
      <dc:date>2024-06-27T05:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: How get 'difference' from today's - sales amount minus yesterday's sales amount</title>
      <link>https://community.qlik.com/t5/App-Development/How-get-difference-from-today-s-sales-amount-minus-yesterday-s/m-p/2465993#M99220</link>
      <description>&lt;P&gt;Use previous or peek function to pick previous value&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 09:23:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-get-difference-from-today-s-sales-amount-minus-yesterday-s/m-p/2465993#M99220</guid>
      <dc:creator>Kingmaker</dc:creator>
      <dc:date>2024-06-27T09:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: How get 'difference' from today's - sales amount minus yesterday's sales amount</title>
      <link>https://community.qlik.com/t5/App-Development/How-get-difference-from-today-s-sales-amount-minus-yesterday-s/m-p/2466181#M99233</link>
      <description>&lt;P class="p1"&gt;Hello!&lt;/P&gt;
&lt;P class="p1"&gt;To do it in the script, let’s assume you have loaded your table as Table 1, then:&lt;/P&gt;
&lt;P class="p1"&gt;Table2:&lt;/P&gt;
&lt;P class="p1"&gt;Noconcatenate Load&lt;/P&gt;
&lt;P class="p1"&gt;SaleID,&lt;/P&gt;
&lt;P class="p1"&gt;Desc,&lt;/P&gt;
&lt;P class="p1"&gt;[Reported Date],&lt;/P&gt;
&lt;P class="p1"&gt;[Sale Date],&lt;/P&gt;
&lt;P class="p1"&gt;[Sale Amount],&lt;/P&gt;
&lt;P class="p1"&gt;if(SaleID=peek(SaleID) and [Reported Date]=peek([Reported Date]), [Sale Amount]-peek([Sale Amount]),[Sale Amount]) as Difference&lt;/P&gt;
&lt;P class="p1"&gt;Resident Table1&lt;/P&gt;
&lt;P class="p1"&gt;Order by SaleID,[Reported Date],[SaleDate];&lt;/P&gt;
&lt;P class="p1"&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 19:08:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-get-difference-from-today-s-sales-amount-minus-yesterday-s/m-p/2466181#M99233</guid>
      <dc:creator>amonjaras_c40</dc:creator>
      <dc:date>2024-06-27T19:08:57Z</dc:date>
    </item>
  </channel>
</rss>

