<?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 Any function can get the 'exist' result? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Any-function-can-get-the-exist-result/m-p/241501#M91915</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a varible named v_year and a table like:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 54pt; border-collapse: collapse;" width="72"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 54pt;" width="72" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR height="18" style="height: 13.5pt;"&gt;&lt;TD class="xl65" height="18" style="background-color: transparent; width: 54pt; height: 13.5pt; border: windowtext 0.5pt solid;" width="72"&gt;Year&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="18" style="height: 13.5pt;"&gt;&lt;TD align="right" class="xl65" height="18" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; background-color: transparent; height: 13.5pt; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;2008&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="18" style="height: 13.5pt;"&gt;&lt;TD align="right" class="xl65" height="18" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; background-color: transparent; height: 13.5pt; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;2007&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="18" style="height: 13.5pt;"&gt;&lt;TD align="right" class="xl65" height="18" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; background-color: transparent; height: 13.5pt; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;2001&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I want to get a function which can return a ture-or-false value:&lt;/P&gt;&lt;P&gt;TURE : if $(v_year) exist in field [Year]&lt;/P&gt;&lt;P&gt;FALSE: if $(v_year) not exist in field [Year]&lt;/P&gt;&lt;P&gt;How can I write the expression? Any function can do that? I want to use the expression as a condition in if clause.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Mar 2011 05:40:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-03-08T05:40:31Z</dc:date>
    <item>
      <title>Any function can get the 'exist' result?</title>
      <link>https://community.qlik.com/t5/QlikView/Any-function-can-get-the-exist-result/m-p/241501#M91915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a varible named v_year and a table like:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 54pt; border-collapse: collapse;" width="72"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 54pt;" width="72" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR height="18" style="height: 13.5pt;"&gt;&lt;TD class="xl65" height="18" style="background-color: transparent; width: 54pt; height: 13.5pt; border: windowtext 0.5pt solid;" width="72"&gt;Year&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="18" style="height: 13.5pt;"&gt;&lt;TD align="right" class="xl65" height="18" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; background-color: transparent; height: 13.5pt; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;2008&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="18" style="height: 13.5pt;"&gt;&lt;TD align="right" class="xl65" height="18" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; background-color: transparent; height: 13.5pt; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;2007&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="18" style="height: 13.5pt;"&gt;&lt;TD align="right" class="xl65" height="18" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; background-color: transparent; height: 13.5pt; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;2001&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I want to get a function which can return a ture-or-false value:&lt;/P&gt;&lt;P&gt;TURE : if $(v_year) exist in field [Year]&lt;/P&gt;&lt;P&gt;FALSE: if $(v_year) not exist in field [Year]&lt;/P&gt;&lt;P&gt;How can I write the expression? Any function can do that? I want to use the expression as a condition in if clause.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 05:40:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Any-function-can-get-the-exist-result/m-p/241501#M91915</guid>
      <dc:creator />
      <dc:date>2011-03-08T05:40:31Z</dc:date>
    </item>
    <item>
      <title>Any function can get the 'exist' result?</title>
      <link>https://community.qlik.com/t5/QlikView/Any-function-can-get-the-exist-result/m-p/241502#M91916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you are trying in the script, you can create flag like this:&lt;/P&gt;&lt;P&gt;LOAD Year,&lt;/P&gt;&lt;P&gt;If(Year='$(v_year)',1,0) as MatchFlag From ....&lt;/P&gt;&lt;P&gt;otherwise there is a function called EXISTS().... you can have a look at it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, tresesco.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 06:02:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Any-function-can-get-the-exist-result/m-p/241502#M91916</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2011-03-08T06:02:58Z</dc:date>
    </item>
    <item>
      <title>Any function can get the 'exist' result?</title>
      <link>https://community.qlik.com/t5/QlikView/Any-function-can-get-the-exist-result/m-p/241503#M91917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's one option:&lt;/P&gt;&lt;P&gt;=if(only({$&amp;lt;Year={$(vYear)}&amp;gt;} Year),'Exists','Does not Exist')&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 06:04:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Any-function-can-get-the-exist-result/m-p/241503#M91917</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2011-03-08T06:04:55Z</dc:date>
    </item>
    <item>
      <title>Any function can get the 'exist' result?</title>
      <link>https://community.qlik.com/t5/QlikView/Any-function-can-get-the-exist-result/m-p/241504#M91918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The condition is not work. May be NOT(ISNULL(ONLY(....))) is ok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 08:10:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Any-function-can-get-the-exist-result/m-p/241504#M91918</guid>
      <dc:creator />
      <dc:date>2011-03-08T08:10:29Z</dc:date>
    </item>
  </channel>
</rss>

