<?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: Flag in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Flag/m-p/1256234#M848940</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assume, You have null values and few data sets with you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Name, Value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-, 10&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A, 20&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;B, 30&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From here if we create flag over here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Name = '-', 1, 0) as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Directory;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use in set analysis with null values&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Flag = {'1'}&amp;gt;}Value) // &lt;/STRONG&gt;It returns only Null values of Value.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Sum({&amp;lt;Flag = {'0'}&amp;gt;}Value) // &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;It returns without Null values of Value.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Mar 2017 03:10:25 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-03-22T03:10:25Z</dc:date>
    <item>
      <title>Flag</title>
      <link>https://community.qlik.com/t5/QlikView/Flag/m-p/1256233#M848939</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;Can anyone&amp;nbsp; explain what doe flag means " what do we mean by create a flag in qlikview ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &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/Flag/m-p/1256233#M848939</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Flag</title>
      <link>https://community.qlik.com/t5/QlikView/Flag/m-p/1256234#M848940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assume, You have null values and few data sets with you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Name, Value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-, 10&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A, 20&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;B, 30&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From here if we create flag over here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Name = '-', 1, 0) as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Directory;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use in set analysis with null values&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Flag = {'1'}&amp;gt;}Value) // &lt;/STRONG&gt;It returns only Null values of Value.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Sum({&amp;lt;Flag = {'0'}&amp;gt;}Value) // &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;It returns without Null values of Value.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 03:10:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flag/m-p/1256234#M848940</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-03-22T03:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Flag</title>
      <link>https://community.qlik.com/t5/QlikView/Flag/m-p/1256235#M848942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flag is a new derived field like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;product,&lt;/P&gt;&lt;P&gt;sales,&lt;/P&gt;&lt;P&gt;'jan' as flag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from .........xl;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; flag is a column here u can identify the month in the flag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 03:13:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flag/m-p/1256235#M848942</guid>
      <dc:creator />
      <dc:date>2017-03-22T03:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Flag</title>
      <link>https://community.qlik.com/t5/QlikView/Flag/m-p/1256236#M848943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to issue: flags, if you are using set expressions, they tend to become overly complex when they are too many comparison sets and conditions put in place,&lt;/P&gt;&lt;P&gt;In order to reduce the complexity, one can make use of the flags created in the script in set analysis expressions.&lt;/P&gt;&lt;P&gt;The flags can be set up to be simple binary value, 0 and 1.&lt;/P&gt;&lt;P&gt;Use of flags optimizes the performance of fronted calculations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above examples are perfect examples to understand this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope that helps&lt;/P&gt;&lt;P&gt;beck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 08:18:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flag/m-p/1256236#M848943</guid>
      <dc:creator>beck_bakytbek</dc:creator>
      <dc:date>2017-03-22T08:18:12Z</dc:date>
    </item>
  </channel>
</rss>

