<?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: Merging two flags into one in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Merging-two-flags-into-one/m-p/1617838#M735371</link>
    <description>&lt;P&gt;Karan, consider attaching your app or a sample, these types of posts generally get better responses when doing that.&amp;nbsp; This will kick things back up the list too, so someone may see it fresh and leave you something, but if you can attach an app, that should help.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Wed, 28 Aug 2019 18:25:23 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2019-08-28T18:25:23Z</dc:date>
    <item>
      <title>Merging two flags into one</title>
      <link>https://community.qlik.com/t5/QlikView/Merging-two-flags-into-one/m-p/1611734#M735370</link>
      <description>&lt;P&gt;How to merge two Flags into one. need to combine all values.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Create common flag (Flag1 &amp;amp; Flag2)&lt;/STRONG&gt;&lt;BR /&gt;Common_Flag - Test1,&amp;nbsp;Test2,&amp;nbsp;Test3&amp;nbsp;Test4,&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;BR /&gt;T1:&lt;BR /&gt;LOAD *,&lt;/P&gt;&lt;P&gt;IF(MonthDiff &amp;gt;= 1 AND MonthDiff &amp;lt;= 36, 'Test1',&lt;BR /&gt;IF(MonthDiff &amp;gt;=37 AND MonthDiff &amp;lt;= 60, 'Test2','Test3')) AS Flag1;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;BR /&gt;IF(ISNULL(Max_DT) = -1, 'Null', ((year(DateKY)*12)+month(DateKY)) - (((year(Max_DT)*12)+ month(Max_DT)))) AS MonthDiff&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Resident Temp;&lt;BR /&gt;DROP Table Temp;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;BR /&gt;T2:&lt;BR /&gt;LOAD&lt;BR /&gt;*,&lt;BR /&gt;If(WildMatch(Flag1,'Test1'),&lt;BR /&gt;If(Flag1,'Test2','Test1'),'Test4') as Flag2&lt;BR /&gt;&lt;BR /&gt;Resident T1;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merging-two-flags-into-one/m-p/1611734#M735370</guid>
      <dc:creator>karan_kn</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Merging two flags into one</title>
      <link>https://community.qlik.com/t5/QlikView/Merging-two-flags-into-one/m-p/1617838#M735371</link>
      <description>&lt;P&gt;Karan, consider attaching your app or a sample, these types of posts generally get better responses when doing that.&amp;nbsp; This will kick things back up the list too, so someone may see it fresh and leave you something, but if you can attach an app, that should help.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2019 18:25:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merging-two-flags-into-one/m-p/1617838#M735371</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-08-28T18:25:23Z</dc:date>
    </item>
  </channel>
</rss>

