<?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 help needed  to derive flag in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/help-needed-to-derive-flag-in-script/m-p/1213960#M861297</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 need to create flags for a column "Customer" in script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirement is like if the "Customer" column is null in current year then the current year null flag =1 else 0&lt;/P&gt;&lt;P&gt;Similarly i need to look check for previous Year means if the "Customer" name is null in previous year then the previous year null flag will be 1 else 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to derive these flags to use in other field derivation in script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>help needed  to derive flag in script</title>
      <link>https://community.qlik.com/t5/QlikView/help-needed-to-derive-flag-in-script/m-p/1213960#M861297</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 need to create flags for a column "Customer" in script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirement is like if the "Customer" column is null in current year then the current year null flag =1 else 0&lt;/P&gt;&lt;P&gt;Similarly i need to look check for previous Year means if the "Customer" name is null in previous year then the previous year null flag will be 1 else 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to derive these flags to use in other field derivation in script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-needed-to-derive-flag-in-script/m-p/1213960#M861297</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: help needed  to derive flag in script</title>
      <link>https://community.qlik.com/t5/QlikView/help-needed-to-derive-flag-in-script/m-p/1213961#M861298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if Customer and Year field both are in the same table then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(len(trim(Customer))&amp;lt;1,1,0) as Flag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;, else please post a sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2017 12:30:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-needed-to-derive-flag-in-script/m-p/1213961#M861298</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-01-09T12:30:28Z</dc:date>
    </item>
  </channel>
</rss>

