<?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 Change in Front end Expression to Back End Script -Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Change-in-Front-end-Expression-to-Back-End-Script-Help/m-p/1602581#M444446</link>
    <description>&lt;P&gt;hi All ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm Able to achieve the difference in same column in front end , but i need to do in back end as i need to filter for Flag&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Front End Expression - This is working&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=if(YearMonth=min( TOTAL&amp;lt;ArticleNumber&amp;gt; YearMonth),0,&lt;/P&gt;&lt;P&gt;rangesum(sum( GrossListPrice) - Above( TOTAL sum(GrossListPrice))))&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Back End - What am i doing wrong ?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Left Join(OneBI)&lt;BR /&gt;load&lt;BR /&gt;ArticleNumber ,&lt;BR /&gt;min(date(YearMonth,'YYYY-MM')) as MinYearMonth&lt;BR /&gt;Resident OneBI&lt;BR /&gt;Group by ArticleNumber;&lt;/P&gt;&lt;P&gt;left join (OneBI)&lt;BR /&gt;LOAD&lt;/P&gt;&lt;P&gt;GrossListPrice,&lt;/P&gt;&lt;P&gt;sum(GrossListPrice) as GrossListPriceMax&lt;BR /&gt;Resident OneBI&lt;BR /&gt;Group by GrossListPrice ;&lt;/P&gt;&lt;P&gt;ONEBI__:&lt;BR /&gt;LOAD *,&lt;/P&gt;&lt;P&gt;if(YearMonth=MinYearMonth,0,&lt;BR /&gt;GrossListPriceMax - Peek('GrossListPriceMax')) as &lt;STRONG&gt;Exp1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I need to Achieve this Exp1 so later i can create Flag&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;P&gt;Advance Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jul 2019 08:42:24 GMT</pubDate>
    <dc:creator>kiranpatil123</dc:creator>
    <dc:date>2019-07-16T08:42:24Z</dc:date>
    <item>
      <title>Change in Front end Expression to Back End Script -Help</title>
      <link>https://community.qlik.com/t5/QlikView/Change-in-Front-end-Expression-to-Back-End-Script-Help/m-p/1602581#M444446</link>
      <description>&lt;P&gt;hi All ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm Able to achieve the difference in same column in front end , but i need to do in back end as i need to filter for Flag&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Front End Expression - This is working&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=if(YearMonth=min( TOTAL&amp;lt;ArticleNumber&amp;gt; YearMonth),0,&lt;/P&gt;&lt;P&gt;rangesum(sum( GrossListPrice) - Above( TOTAL sum(GrossListPrice))))&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Back End - What am i doing wrong ?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Left Join(OneBI)&lt;BR /&gt;load&lt;BR /&gt;ArticleNumber ,&lt;BR /&gt;min(date(YearMonth,'YYYY-MM')) as MinYearMonth&lt;BR /&gt;Resident OneBI&lt;BR /&gt;Group by ArticleNumber;&lt;/P&gt;&lt;P&gt;left join (OneBI)&lt;BR /&gt;LOAD&lt;/P&gt;&lt;P&gt;GrossListPrice,&lt;/P&gt;&lt;P&gt;sum(GrossListPrice) as GrossListPriceMax&lt;BR /&gt;Resident OneBI&lt;BR /&gt;Group by GrossListPrice ;&lt;/P&gt;&lt;P&gt;ONEBI__:&lt;BR /&gt;LOAD *,&lt;/P&gt;&lt;P&gt;if(YearMonth=MinYearMonth,0,&lt;BR /&gt;GrossListPriceMax - Peek('GrossListPriceMax')) as &lt;STRONG&gt;Exp1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I need to Achieve this Exp1 so later i can create Flag&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;P&gt;Advance Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 08:42:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-in-Front-end-Expression-to-Back-End-Script-Help/m-p/1602581#M444446</guid>
      <dc:creator>kiranpatil123</dc:creator>
      <dc:date>2019-07-16T08:42:24Z</dc:date>
    </item>
  </channel>
</rss>

