<?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: display the missing Sales values based on Projections in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/display-the-missing-Sales-values-based-on-Projections/m-p/2478750#M100516</link>
    <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48554"&gt;@brunobertels&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;why my above expression not worked, why yours worked can you kindly explain it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again,&lt;/P&gt;
&lt;P&gt;Eshwar&lt;/P&gt;</description>
    <pubDate>Thu, 29 Aug 2024 17:11:17 GMT</pubDate>
    <dc:creator>Eshwar1</dc:creator>
    <dc:date>2024-08-29T17:11:17Z</dc:date>
    <item>
      <title>display the missing Sales values based on Projections</title>
      <link>https://community.qlik.com/t5/App-Development/display-the-missing-Sales-values-based-on-Projections/m-p/2478692#M100503</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;
&lt;P&gt;I have below sample table, Based on projection values i want to display the calculated missing Sales values&lt;/P&gt;
&lt;P&gt;Tab:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Year, Product , Sales, Projections&lt;BR /&gt;2024, Latop,&amp;nbsp; &amp;nbsp;1000, &lt;BR /&gt;2025, Latop,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10%&lt;BR /&gt;2026, Latop,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;15%&lt;BR /&gt;2027, Latop,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 12&lt;BR /&gt;2024, Mobile,&amp;nbsp; 1500, &lt;BR /&gt;2025, Mobile,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 15%&lt;BR /&gt;2026, Mobile,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10%&lt;BR /&gt;2027, Mobile,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 14%&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;CalculatedSalesData:&lt;BR /&gt;LOAD &lt;BR /&gt;Year,&lt;BR /&gt;Product,&lt;BR /&gt;If(Len(Trim(Sales)) = 0, Previous(Sales) * (1 + Projections/100), Sales)&amp;nbsp; AS Sales,&lt;BR /&gt;Projections&lt;BR /&gt;Resident Tab&lt;BR /&gt;ORDER BY Product, Year;&lt;/P&gt;
&lt;P&gt;Drop table Tab;&lt;/P&gt;
&lt;P&gt;to achieve Implemented above code in "CalculatedSalesData" Table, but not getting desired values&lt;/P&gt;
&lt;P&gt;what's the issue here not able to find out that.&lt;/P&gt;
&lt;P&gt;Can you suggest it.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Eshwar&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 12:34:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/display-the-missing-Sales-values-based-on-Projections/m-p/2478692#M100503</guid>
      <dc:creator>Eshwar1</dc:creator>
      <dc:date>2024-08-29T12:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: display the missing Sales values based on Projections</title>
      <link>https://community.qlik.com/t5/App-Development/display-the-missing-Sales-values-based-on-Projections/m-p/2478713#M100504</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did it like that&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tab:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Year, Product , Sales, Projections&lt;BR /&gt;2024, Latop, 1000,&lt;BR /&gt;2025, Latop, , 10%&lt;BR /&gt;2026, Latop, , 15%&lt;BR /&gt;2027, Latop, , 12%&lt;BR /&gt;2024, Mobile, 1500,&lt;BR /&gt;2025, Mobile, , 15%&lt;BR /&gt;2026, Mobile, , 10%&lt;BR /&gt;2027, Mobile, , 14%&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;CalculatedSalesData:&lt;BR /&gt;LOAD&lt;BR /&gt;Year,&lt;BR /&gt;Product,&lt;BR /&gt;//If(Len(Trim(Sales)) = 0, Previous(Sales) * (1 + Projections/100), Sales) AS Sales,&lt;BR /&gt;If(Len(Trim(Sales)) = 0, peek(Sales)+peek(Sales) * Projections,Sales) AS Sales,&lt;BR /&gt;Projections&lt;BR /&gt;Resident Tab&lt;BR /&gt;ORDER BY Product, Year;&lt;/P&gt;
&lt;P&gt;Drop table Tab;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brunobertels_0-1724937897276.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171114i2DC0C34DC7BE6DD0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="brunobertels_0-1724937897276.png" alt="brunobertels_0-1724937897276.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 13:25:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/display-the-missing-Sales-values-based-on-Projections/m-p/2478713#M100504</guid>
      <dc:creator>brunobertels</dc:creator>
      <dc:date>2024-08-29T13:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: display the missing Sales values based on Projections</title>
      <link>https://community.qlik.com/t5/App-Development/display-the-missing-Sales-values-based-on-Projections/m-p/2478750#M100516</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48554"&gt;@brunobertels&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;why my above expression not worked, why yours worked can you kindly explain it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again,&lt;/P&gt;
&lt;P&gt;Eshwar&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 17:11:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/display-the-missing-Sales-values-based-on-Projections/m-p/2478750#M100516</guid>
      <dc:creator>Eshwar1</dc:creator>
      <dc:date>2024-08-29T17:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: display the missing Sales values based on Projections</title>
      <link>https://community.qlik.com/t5/App-Development/display-the-missing-Sales-values-based-on-Projections/m-p/2478830#M100525</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;see this link for further informations about Peek and Previous functions :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;"The two functions Peek() and Previous() are similar, but still fundamentally different. Previous() operates on the input to the Load statement, whereas Peek() operates on the output of the Load statement.&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;This means that it makes a big difference for Peek() if a field is included in the Load statement or not. But it doesn't affect Previous() at all."&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Design/Peek-vs-Previous-When-to-Use-Each/ba-p/1475913" target="_self"&gt;https://community.qlik.com/t5/Design/Peek-vs-Previous-When-to-Use-Each/ba-p/1475913&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and here an example with a table to see the behaviour of peek and previous function :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.bitmetric.nl/blog/qlik-peek-or-previous/" target="_self"&gt;https://www.bitmetric.nl/blog/qlik-peek-or-previous/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;previous behaviour :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brunobertels_0-1725002625064.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171126i1DC60C574B496983/image-size/medium?v=v2&amp;amp;px=400" role="button" title="brunobertels_0-1725002625064.png" alt="brunobertels_0-1725002625064.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Peek behaviour :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brunobertels_1-1725002666085.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171127iA46551C375061CC6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="brunobertels_1-1725002666085.png" alt="brunobertels_1-1725002666085.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 07:24:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/display-the-missing-Sales-values-based-on-Projections/m-p/2478830#M100525</guid>
      <dc:creator>brunobertels</dc:creator>
      <dc:date>2024-08-30T07:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: display the missing Sales values based on Projections</title>
      <link>https://community.qlik.com/t5/App-Development/display-the-missing-Sales-values-based-on-Projections/m-p/2479532#M100603</link>
      <description>&lt;P&gt;Thank you for information&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48554"&gt;@brunobertels&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 07:16:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/display-the-missing-Sales-values-based-on-Projections/m-p/2479532#M100603</guid>
      <dc:creator>Eshwar1</dc:creator>
      <dc:date>2024-09-04T07:16:19Z</dc:date>
    </item>
  </channel>
</rss>

