<?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 if in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/if/m-p/1269539#M860074</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 have this query in my edit script &lt;/P&gt;&lt;P&gt;if(DEPT_Code = 'COS',Date([lastSalesMatchDate] ,'YYYY-MM-DD'),Date(MonthStart(today()),'YYYY-MM-DD')) as [date]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;In the above DEPT_Code&amp;nbsp;&amp;nbsp; i need to include even DOT&amp;nbsp; also how do i write this&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;if(DEPT_Code = 'COS',DOT,......) ?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>smilingjohn</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>if</title>
      <link>https://community.qlik.com/t5/QlikView/if/m-p/1269539#M860074</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 have this query in my edit script &lt;/P&gt;&lt;P&gt;if(DEPT_Code = 'COS',Date([lastSalesMatchDate] ,'YYYY-MM-DD'),Date(MonthStart(today()),'YYYY-MM-DD')) as [date]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;In the above DEPT_Code&amp;nbsp;&amp;nbsp; i need to include even DOT&amp;nbsp; also how do i write this&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;if(DEPT_Code = 'COS',DOT,......) ?&lt;/SPAN&gt;&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/if/m-p/1269539#M860074</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: if</title>
      <link>https://community.qlik.com/t5/QlikView/if/m-p/1269540#M860075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;if(match(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DEPT_Code = 'COS&lt;/SPAN&gt;','&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;DOT'&lt;/SPAN&gt;),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Date([lastSalesMatchDate] ,'YYYY-MM-DD')&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Date(MonthStart(today()),'YYYY-MM-DD')&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Balakrishnan.R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 13:09:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if/m-p/1269540#M860075</guid>
      <dc:creator />
      <dc:date>2017-01-18T13:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: if</title>
      <link>https://community.qlik.com/t5/QlikView/if/m-p/1269541#M860076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(DEPT_Code = 'COS' &lt;STRONG&gt;or &lt;/STRONG&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;DEPT_Code = 'DOT'&lt;/STRONG&gt; &lt;/SPAN&gt;,Date([lastSalesMatchDate] ,'YYYY-MM-DD'),Date(MonthStart(today()),'YYYY-MM-DD')) as [date]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 13:11:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if/m-p/1269541#M860076</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2017-01-18T13:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: if</title>
      <link>https://community.qlik.com/t5/QlikView/if/m-p/1269542#M860078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Match doesn't need an equal sign... may be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;If(Match(&lt;SPAN style="font-style: inherit;"&gt;DEPT_Code&lt;SPAN style="color: #ff0000;"&gt;,&lt;/SPAN&gt; 'COS&lt;/SPAN&gt;', '&lt;SPAN style="font-style: inherit; font-size: 13.3333px;"&gt;DOT'&lt;/SPAN&gt;), &lt;SPAN style="font-style: inherit;"&gt;Date([lastSalesMatchDate], 'YYYY-MM-DD')&lt;/SPAN&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-style: inherit;"&gt;Date(MonthStart(Today()), 'YYYY-MM-DD')&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 13:13:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if/m-p/1269542#M860078</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-18T13:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: if</title>
      <link>https://community.qlik.com/t5/QlikView/if/m-p/1269543#M860080</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="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(Match(DEPT_Code, 'COS', &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px;"&gt;'DOT')&amp;gt;0, &lt;/SPAN&gt;Date([lastSalesMatchDate] ,'YYYY-MM-DD'),Date(MonthStart(today()),'YYYY-MM-DD')) as [date]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 13:13:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if/m-p/1269543#M860080</guid>
      <dc:creator>Aurelien_Martinez</dc:creator>
      <dc:date>2017-01-18T13:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: if</title>
      <link>https://community.qlik.com/t5/QlikView/if/m-p/1269544#M860083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, apologies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Match does not need an equal sign.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 13:17:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if/m-p/1269544#M860083</guid>
      <dc:creator />
      <dc:date>2017-01-18T13:17:15Z</dc:date>
    </item>
  </channel>
</rss>

