<?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 for difference between two values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Flag-for-difference-between-two-values/m-p/1260074#M847934</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys for your fast and efficient response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Mar 2017 12:36:12 GMT</pubDate>
    <dc:creator>amigo007</dc:creator>
    <dc:date>2017-03-22T12:36:12Z</dc:date>
    <item>
      <title>Flag for difference between two values</title>
      <link>https://community.qlik.com/t5/QlikView/Flag-for-difference-between-two-values/m-p/1260068#M847928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have one table and I need to create a flag/filter to show the difference between the values in 2 columns for the same row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My table is in the following format:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); border-image: none; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Id&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Country1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Country2&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Finland&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Portugal&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Germany&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Germany&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Morocco&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Finland&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Portugal&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Morocco&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the flag can have 2 values, e.g. 'Same' and 'Different', i.e. if I click 'Same', only the 2nd row for Germany will be shown. Likewise, if I click 'Different', rows 1, 3 and 4 will be shown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&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-for-difference-between-two-values/m-p/1260068#M847928</guid>
      <dc:creator>amigo007</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Flag for difference between two values</title>
      <link>https://community.qlik.com/t5/QlikView/Flag-for-difference-between-two-values/m-p/1260069#M847929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Id,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country2,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;STRONG&gt;&amp;nbsp;&amp;nbsp; If(Country1 = Country2, 'Same', 'Different') as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;FROM ....;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 12:25:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flag-for-difference-between-two-values/m-p/1260069#M847929</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-03-22T12:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Flag for difference between two values</title>
      <link>https://community.qlik.com/t5/QlikView/Flag-for-difference-between-two-values/m-p/1260070#M847930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Id,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country2,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Country1 = Country2, 'Same', 'Different') as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM ...&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 12:25:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flag-for-difference-between-two-values/m-p/1260070#M847930</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-22T12:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Flag for difference between two values</title>
      <link>https://community.qlik.com/t5/QlikView/Flag-for-difference-between-two-values/m-p/1260071#M847931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Id, Country1, Country2, If(Country1 = Country2, 'Same','Different') as Welcome Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Id, Country1 ,Country2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1, Finland ,Portugal&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2, Germany ,Germany&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3, Morocco ,Finland&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4, Portugal, Morocco&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 12:25:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flag-for-difference-between-two-values/m-p/1260071#M847931</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-03-22T12:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Flag for difference between two values</title>
      <link>https://community.qlik.com/t5/QlikView/Flag-for-difference-between-two-values/m-p/1260072#M847932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or in an list box field expression (from &amp;lt;expression&amp;gt; dialog in field drop down on general tab):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(&amp;nbsp;&amp;nbsp; If(Country1 = Country2, 'Same', 'Different') , Id)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 12:26:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flag-for-difference-between-two-values/m-p/1260072#M847932</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-03-22T12:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Flag for difference between two values</title>
      <link>https://community.qlik.com/t5/QlikView/Flag-for-difference-between-two-values/m-p/1260073#M847933</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;Try this-&lt;/P&gt;&lt;P&gt;if(Country1=Country2,'Same','Diff')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 12:27:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flag-for-difference-between-two-values/m-p/1260073#M847933</guid>
      <dc:creator>neha_shirsath</dc:creator>
      <dc:date>2017-03-22T12:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Flag for difference between two values</title>
      <link>https://community.qlik.com/t5/QlikView/Flag-for-difference-between-two-values/m-p/1260074#M847934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys for your fast and efficient response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 12:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flag-for-difference-between-two-values/m-p/1260074#M847934</guid>
      <dc:creator>amigo007</dc:creator>
      <dc:date>2017-03-22T12:36:12Z</dc:date>
    </item>
  </channel>
</rss>

