<?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 Set 1 or 0 to variable if selected field is on a specific table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-1-or-0-to-variable-if-selected-field-is-on-a-specific-table/m-p/263079#M498015</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;You need to use Getfieldselections() function to fetch the value of the filelds and match the values according to that you check the fields and set value of variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Aug 2011 12:52:02 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2011-08-10T12:52:02Z</dc:date>
    <item>
      <title>Set 1 or 0 to variable if selected field is on a specific table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-1-or-0-to-variable-if-selected-field-is-on-a-specific-table/m-p/263078#M498014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to set a variable with the result 1 or 0 if selected(s) field(s) is(are) on a specific table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 tables (Table_NAV; Funds;Memory) and a reference date set by a variable (vDateRef)&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 367px;"&gt;&lt;COL style="width: 57pt;" width="76" /&gt; &lt;COL style="width: 48pt;" width="64" /&gt; &lt;COL style="width: 56pt;" width="74" /&gt; &lt;COL style="width: 48pt;" width="64" /&gt; &lt;COL style="width: 67pt;" width="89" /&gt; &lt;TBODY&gt;&lt;TR style="height: 15pt;"&gt; &lt;TD class="xl63" height="20" style="height: 15pt; width: 57pt;" width="76"&gt;Table_NAV&lt;/TD&gt; &lt;TD style="width: 48pt;" width="64"&gt;&lt;BR /&gt;&lt;/TD&gt; &lt;TD class="xl63" style="width: 56pt;" width="74"&gt;Funds&lt;/TD&gt; &lt;TD style="width: 48pt;" width="64"&gt;&lt;BR /&gt;&lt;/TD&gt; &lt;TD class="xl63" style="width: 67pt;" width="89"&gt;Memory&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt; &lt;TD height="20" style="height: 15pt;"&gt;Date&lt;/TD&gt; &lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt; &lt;TD&gt;Funds_Nbr&lt;/TD&gt; &lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt; &lt;TD&gt;Contract_Nbr&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt; &lt;TD height="20" style="height: 15pt;"&gt;Funds_Nbr&lt;/TD&gt; &lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt; &lt;TD&gt;Type&lt;/TD&gt; &lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt; &lt;TD&gt;Funds_Nbr&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt; &lt;TD height="20" style="height: 15pt;"&gt;NAV&lt;/TD&gt; &lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt; &lt;TD&gt;Name&lt;/TD&gt; &lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt; &lt;TD&gt;Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt; &lt;TD height="20" style="height: 15pt;"&gt;&lt;BR /&gt;&lt;/TD&gt; &lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt; &lt;TD&gt;ISIN&lt;/TD&gt; &lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt; &lt;TD&gt;Units&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt; &lt;TD height="20" style="height: 15pt;"&gt;&lt;BR /&gt;&lt;/TD&gt; &lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt; &lt;TD&gt;StartDate&lt;/TD&gt; &lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt; &lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 2 first have date all days. Last one only endmonth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wath I want is use the vDateRef if selected Fields are on table "Table_NAV" or "Funds" otherwise a endmonth date if selected fields are on table "Memory".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laurent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 12:28:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-1-or-0-to-variable-if-selected-field-is-on-a-specific-table/m-p/263078#M498014</guid>
      <dc:creator />
      <dc:date>2011-08-10T12:28:39Z</dc:date>
    </item>
    <item>
      <title>Set 1 or 0 to variable if selected field is on a specific table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-1-or-0-to-variable-if-selected-field-is-on-a-specific-table/m-p/263079#M498015</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;You need to use Getfieldselections() function to fetch the value of the filelds and match the values according to that you check the fields and set value of variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 12:52:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-1-or-0-to-variable-if-selected-field-is-on-a-specific-table/m-p/263079#M498015</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-08-10T12:52:02Z</dc:date>
    </item>
    <item>
      <title>Set 1 or 0 to variable if selected field is on a specific table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-1-or-0-to-variable-if-selected-field-is-on-a-specific-table/m-p/263080#M498016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunatly, that doesn't help me for this. If there was the same function but with the table it could. What I was trying to do was affect a value to a variable if a field is selected in a defined table (&lt;SPAN class="short_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;regardless of the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;field) and an other value if its a selected field from an other table.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;But your suggestion have help me for other expression.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Laurent&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 15:28:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-1-or-0-to-variable-if-selected-field-is-on-a-specific-table/m-p/263080#M498016</guid>
      <dc:creator />
      <dc:date>2011-08-22T15:28:13Z</dc:date>
    </item>
  </channel>
</rss>

