<?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: How to Write if condtion expression in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Write-if-condtion-expression-in-set-analysis/m-p/1564303#M741943</link>
    <description>&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thank you for you reply. i have tried by using this expression like this&lt;/P&gt;&lt;PRE&gt;Count(DISTINCT {&amp;lt;IDs = {"=(IsNull(END_DATE) and OPEN_DATE &amp;lt;= MakeDate(2018, 10, 20)) or (END_DATE &amp;gt; MakeDate(2018, 10, 20) and OPEN_DATE &amp;lt;= MakeDate(2018, 10, 20))"}&amp;gt;} IDs)&lt;/PRE&gt;&lt;P&gt;i am not getting the values. but i tried belowr method like this i am getting value.&lt;/P&gt;&lt;PRE&gt;Count(DISTINCT {&amp;lt;IDs = {"=(IsNull(END_DATE) and OPEN_DATE &amp;lt;= '2018-10-20') or (END_DATE &amp;gt; '2018-10-20' and OPEN_DATE &amp;lt;= '2018-10-20')"}&amp;gt;} IDs)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I need to place a field instead of hard coded value.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Apr 2019 06:47:54 GMT</pubDate>
    <dc:creator>shabarish0587</dc:creator>
    <dc:date>2019-04-03T06:47:54Z</dc:date>
    <item>
      <title>How to Write if condtion expression in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Write-if-condtion-expression-in-set-analysis/m-p/1563957#M741940</link>
      <description>&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can any one help me how to write if condition statement into set expression.&lt;/P&gt;&lt;P&gt;count(DISTINCT if((IsNull((END_DATE) and&amp;nbsp; OPEN_DATE&amp;lt;='2018-10-20') or&amp;nbsp; (END_DATE&amp;gt; '2018-10-20 'and&amp;nbsp; OPEN_DATE&amp;lt;='2018-10-20') ), IDs)).&lt;/P&gt;&lt;P&gt;in the place of 2018-10-20, I defined a variable vWeekDate.&lt;/P&gt;&lt;P&gt;the above expression I need to write same as by using set expression. Can any one help me on this. Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Write-if-condtion-expression-in-set-analysis/m-p/1563957#M741940</guid>
      <dc:creator>shabarish0587</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to Write if condtion expression in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Write-if-condtion-expression-in-set-analysis/m-p/1563984#M741941</link>
      <description>try something like below&lt;BR /&gt;{&amp;lt; ID={"=Len(END_DATE)=0"}, OPEN_DATE={"&amp;lt;=$(=vWeekDate)"}&amp;gt; // for first and condition&lt;BR /&gt;+ &amp;lt; END_DATE={"&amp;gt;$(=vWeekDate)"}, OPEN_DATE={"&amp;lt;=$(=vWeekDate)"}&amp;gt; // + for the or&lt;BR /&gt;}</description>
      <pubDate>Tue, 02 Apr 2019 13:38:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Write-if-condtion-expression-in-set-analysis/m-p/1563984#M741941</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-04-02T13:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to Write if condtion expression in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Write-if-condtion-expression-in-set-analysis/m-p/1564024#M741942</link>
      <description>&lt;P&gt;Or this&lt;/P&gt;&lt;PRE&gt;Count(DISTINCT {&amp;lt;IDs = {"=(IsNull(END_DATE) and OPEN_DATE &amp;lt;= MakeDate(2018, 10, 20)) or (END_DATE &amp;gt; MakeDate(2018, 10, 20) and OPEN_DATE &amp;lt;= MakeDate(2018, 10, 20))"}&amp;gt;} IDs)&lt;/PRE&gt;</description>
      <pubDate>Tue, 02 Apr 2019 14:22:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Write-if-condtion-expression-in-set-analysis/m-p/1564024#M741942</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-04-02T14:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to Write if condtion expression in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Write-if-condtion-expression-in-set-analysis/m-p/1564303#M741943</link>
      <description>&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thank you for you reply. i have tried by using this expression like this&lt;/P&gt;&lt;PRE&gt;Count(DISTINCT {&amp;lt;IDs = {"=(IsNull(END_DATE) and OPEN_DATE &amp;lt;= MakeDate(2018, 10, 20)) or (END_DATE &amp;gt; MakeDate(2018, 10, 20) and OPEN_DATE &amp;lt;= MakeDate(2018, 10, 20))"}&amp;gt;} IDs)&lt;/PRE&gt;&lt;P&gt;i am not getting the values. but i tried belowr method like this i am getting value.&lt;/P&gt;&lt;PRE&gt;Count(DISTINCT {&amp;lt;IDs = {"=(IsNull(END_DATE) and OPEN_DATE &amp;lt;= '2018-10-20') or (END_DATE &amp;gt; '2018-10-20' and OPEN_DATE &amp;lt;= '2018-10-20')"}&amp;gt;} IDs)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I need to place a field instead of hard coded value.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 06:47:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Write-if-condtion-expression-in-set-analysis/m-p/1564303#M741943</guid>
      <dc:creator>shabarish0587</dc:creator>
      <dc:date>2019-04-03T06:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to Write if condtion expression in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Write-if-condtion-expression-in-set-analysis/m-p/1564490#M741944</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/24041"&gt;@shabarish0587&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;i am not getting the values. but i tried belowr method like this i am getting value.&lt;/P&gt;&lt;PRE&gt;Count(DISTINCT {&amp;lt;IDs = {"=(IsNull(END_DATE) and OPEN_DATE &amp;lt;= '2018-10-20') or (END_DATE &amp;gt; '2018-10-20' and OPEN_DATE &amp;lt;= '2018-10-20')"}&amp;gt;} IDs)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Nice&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/24041"&gt;@shabarish0587&lt;/a&gt;&amp;nbsp;wrote:&lt;P&gt;&amp;nbsp;I need to place a field instead of hard coded value.&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Okay, so what is the issue?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 11:02:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Write-if-condtion-expression-in-set-analysis/m-p/1564490#M741944</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-04-03T11:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to Write if condtion expression in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Write-if-condtion-expression-in-set-analysis/m-p/1564670#M741945</link>
      <description>&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;When we are using makedate function. Value is showing Zero. Same expression i am giving hard coding value . I am getting exact out put.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Count(DISTINCT {&amp;lt;IDs = {"=(IsNull(END_DATE) and OPEN_DATE &amp;lt;= '2018-10-20') or (END_DATE &amp;gt; '2018-10-20' and OPEN_DATE &amp;lt;= '2018-10-20')"}&amp;gt;} IDs)&lt;/PRE&gt;&lt;P&gt;But when we are giving makedate. it is showing Zero. So&amp;nbsp; i need to place a Date Field in the place of Hard code.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 14:36:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Write-if-condtion-expression-in-set-analysis/m-p/1564670#M741945</guid>
      <dc:creator>shabarish0587</dc:creator>
      <dc:date>2019-04-03T14:36:56Z</dc:date>
    </item>
  </channel>
</rss>

