<?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: Convert if condition to Set in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-if-condition-to-Set/m-p/1082916#M934395</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you add the set expression column with a blank label, you can see the evaluated set expression in the column label without needing to create an extra text box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Feb 2016 13:05:45 GMT</pubDate>
    <dc:creator>Colin-Albert</dc:creator>
    <dc:date>2016-02-22T13:05:45Z</dc:date>
    <item>
      <title>Convert if condition to Set</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-if-condition-to-Set/m-p/1082912#M934391</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 am having following &lt;STRONG&gt;if&lt;/STRONG&gt; condition which needs to be converted into Set analysis&lt;/P&gt;&lt;P&gt;Count((if([DB DATE]&amp;gt;=$(Start_date) And (DB_DATE)&amp;lt;=$(End_date),[Instrument No])))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 12:36:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-if-condition-to-Set/m-p/1082912#M934391</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-22T12:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Convert if condition to Set</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-if-condition-to-Set/m-p/1082913#M934392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count({&amp;lt;[DB DATE]={'&amp;gt;=$(Start_date) &amp;lt;=$(End_date)'}&amp;gt;} [Instrument No])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 12:41:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-if-condition-to-Set/m-p/1082913#M934392</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-02-22T12:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Convert if condition to Set</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-if-condition-to-Set/m-p/1082914#M934393</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,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;[DB DATE]={"&amp;gt;=$(Start_date)&amp;lt;=$(End_date)"}&amp;gt;}[Instrument No])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 12:43:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-if-condition-to-Set/m-p/1082914#M934393</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-02-22T12:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Convert if condition to Set</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-if-condition-to-Set/m-p/1082915#M934394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition to the below comments, I would also make sure that $(Start_date) and $(End_date) has same format as DB DATE for this to work. You can check this by adding &lt;STRONG&gt;='&amp;gt;=' &amp;amp; &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;$(Start_date) &amp;amp; '&amp;lt;=' &amp;amp; $(End_date)&lt;/STRONG&gt; to a text box object to check if you get the date range you want in the same format as DB Date.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 13:01:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-if-condition-to-Set/m-p/1082915#M934394</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-22T13:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Convert if condition to Set</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-if-condition-to-Set/m-p/1082916#M934395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you add the set expression column with a blank label, you can see the evaluated set expression in the column label without needing to create an extra text box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 13:05:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-if-condition-to-Set/m-p/1082916#M934395</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2016-02-22T13:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Convert if condition to Set</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-if-condition-to-Set/m-p/1082917#M934396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Agreed &lt;A _jive_internal="true" href="https://community.qlik.com/people/Colin_Albert"&gt;Colin&lt;/A&gt;‌, but I usually use the text box approach because next step for me is to just copy the the whole text box expression and put it between dollar sign expansion -&amp;gt;&amp;nbsp; $(=TextBoxExpression).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case -&amp;gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count({&amp;lt;[DB DATE]={"$(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;='&amp;gt;=' &amp;amp; &lt;/STRONG&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;$(Start_date) &amp;amp; '&amp;lt;=' &amp;amp; $(End_date)&lt;/STRONG&gt;&lt;/SPAN&gt;)"}&amp;gt;}[Instrument No])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may not like my approach, but this gives the exact same result and make me feel like I am in control of what is going on &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 13:12:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-if-condition-to-Set/m-p/1082917#M934396</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-22T13:12:07Z</dc:date>
    </item>
  </channel>
</rss>

