<?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: Need Flag... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-Flag/m-p/572658#M1118583</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For Ex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 11.0pt; color: windowtext;"&gt;load sum(if(aggr(sum(Sales)/Count(Order),Country, Salesperson)&amp;lt;1000,1,0)) as Flag residential sal_ord;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 11.0pt; color: windowtext;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 11.0pt; color: windowtext;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 11.0pt; color: windowtext;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 11.0pt; color: windowtext;"&gt;Raja.&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-GB" style="font-size: 11.0pt; color: windowtext;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Feb 2014 06:08:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-12T06:08:33Z</dc:date>
    <item>
      <title>Need Flag...</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Flag/m-p/572657#M1118582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;require &lt;/SPAN&gt;flag(1,0) , when customers sales have greater than 1500&amp;nbsp; than 1 or 0, I creating and using list box using below script, but I need into load script , no need to list box or text box.&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Sales_Amt&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Customer,Sal_Person &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)&amp;gt;=1500,1,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;i am seem to be looking like,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Load &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(s&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;um&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Sales_Amt&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Customer,Sal_Person &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New';"&gt;&lt;SPAN style="font-size: 9pt;"&gt;)&amp;gt;=1500,1,0)&amp;nbsp; as flag &lt;/SPAN&gt;&lt;SPAN style="font-size: 12px;"&gt;residential&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt;"&gt; sal_ord;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raja.&lt;BR /&gt;&lt;SPAN style="color: #000000; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 06:04:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Flag/m-p/572657#M1118582</guid>
      <dc:creator />
      <dc:date>2014-02-12T06:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Need Flag...</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Flag/m-p/572658#M1118583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For Ex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 11.0pt; color: windowtext;"&gt;load sum(if(aggr(sum(Sales)/Count(Order),Country, Salesperson)&amp;lt;1000,1,0)) as Flag residential sal_ord;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 11.0pt; color: windowtext;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 11.0pt; color: windowtext;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 11.0pt; color: windowtext;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 11.0pt; color: windowtext;"&gt;Raja.&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-GB" style="font-size: 11.0pt; color: windowtext;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 06:08:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Flag/m-p/572658#M1118583</guid>
      <dc:creator />
      <dc:date>2014-02-12T06:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Need Flag...</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Flag/m-p/572659#M1118584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NewTable:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Load&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;s&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;um&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Sales_Amt&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) as &lt;SPAN style="color: maroon; font-size: 9.0pt; font-family: 'Courier New';"&gt;Sales_Amt_new,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: maroon; font-size: 9.0pt; font-family: 'Courier New';"&gt;Customer,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: maroon; font-size: 9.0pt; font-family: 'Courier New';"&gt;Sal_Person&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: maroon; font-size: 9.0pt; font-family: 'Courier New';"&gt;resident &lt;SPAN style="color: #000000; font-size: 9pt; font-family: 'Courier New';"&gt;sal_ord&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: maroon; font-size: 9.0pt; font-family: 'Courier New';"&gt;group by &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Customer,Sal_Person;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: maroon; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: maroon; font-size: 9.0pt; font-family: 'Courier New';"&gt;outputtable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: maroon; font-size: 9.0pt; font-family: 'Courier New';"&gt;load * ,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-size: 9.0pt; font-family: 'Courier New';"&gt;Sales_Amt_new &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 9pt; font-family: 'Courier New';"&gt;&amp;gt;=1500,1,0)&amp;nbsp; as flag &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New';"&gt;&lt;SPAN style="font-size: 12px;"&gt;resident NewTable&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 06:10:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Flag/m-p/572659#M1118584</guid>
      <dc:creator />
      <dc:date>2014-02-12T06:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need Flag...</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Flag/m-p/572660#M1118585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will add the flag to the transaction table (modify to fit your data model and requiremments):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transactions:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SaleDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesPerson,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;FROM Sales...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN (Transactions)&lt;/P&gt;&lt;P&gt;LOAD Customer,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesPerson,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Sum(Value) &amp;gt; 1500, 1, 0) As Flag&lt;/P&gt;&lt;P&gt;RESIDENT Transactions&lt;/P&gt;&lt;P&gt;GROUP BY Customer, SalesPerson&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 06:16:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Flag/m-p/572660#M1118585</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-02-12T06:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Need Flag...</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Flag/m-p/572661#M1118586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi Vishwa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks for your answer . this exactly(correct answer) i am looking&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have small misunderstanding,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: Helvetica, sans-serif;"&gt;Now here, what is the difference between into &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;AGGR&lt;/STRONG&gt; and &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Group by&lt;/STRONG&gt; &amp;lt;Column Name&amp;gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: Helvetica, sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: Helvetica, sans-serif;"&gt;Raja.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 06:18:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Flag/m-p/572661#M1118586</guid>
      <dc:creator />
      <dc:date>2014-02-12T06:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need Flag...</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Flag/m-p/572662#M1118587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ya grate, u r think accurate&amp;nbsp; way .. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 06:22:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Flag/m-p/572662#M1118587</guid>
      <dc:creator />
      <dc:date>2014-02-12T06:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need Flag...</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Flag/m-p/572663#M1118588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: Helvetica, sans-serif;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;AGGR&lt;/STRONG&gt; and &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Group by&lt;/STRONG&gt;&amp;nbsp; both are same meaning, only difference is that,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-style: inherit; font-family: Helvetica, sans-serif; font-weight: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;AGGR&lt;/STRONG&gt;&amp;nbsp; uses on front end&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-style: inherit; font-family: Helvetica, sans-serif; font-weight: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Group By uses on back end (In script).&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-style: inherit; font-family: Helvetica, sans-serif; font-weight: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Thanks&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-style: inherit; font-family: Helvetica, sans-serif; font-weight: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Regards&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 06:27:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Flag/m-p/572663#M1118588</guid>
      <dc:creator />
      <dc:date>2014-02-12T06:27:08Z</dc:date>
    </item>
  </channel>
</rss>

