<?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: if exists(field, 'value') then  ...  endif. Need a minimalistic working example. in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/if-exists-field-value-then-endif-Need-a-minimalistic-working/m-p/2486074#M101341</link>
    <description>&lt;PRE&gt;Thanks. It works. But you know what else works? Exists instead of FieldIndex. It's really funny.&lt;BR /&gt;&lt;BR /&gt;Fruits:&lt;BR /&gt;Load * inline [&lt;BR /&gt;Fruit&lt;BR /&gt;Apple&lt;BR /&gt;Banana&lt;BR /&gt;Grape];&lt;BR /&gt;&lt;BR /&gt;if Exists('Fruit','Banana') &lt;BR /&gt;   trace Banana exists;&lt;BR /&gt;endif&lt;BR /&gt;&lt;BR /&gt;if Exists('Fruit', 'Orange') then&lt;BR /&gt;   trace Orange exists;&lt;BR /&gt;endif&lt;BR /&gt;&lt;BR /&gt;if not Exists('Fruit', 'Orange') then&lt;BR /&gt;   trace Orange does not exists;&lt;BR /&gt;endif&lt;/PRE&gt;</description>
    <pubDate>Tue, 08 Oct 2024 23:35:43 GMT</pubDate>
    <dc:creator>NikVladi</dc:creator>
    <dc:date>2024-10-08T23:35:43Z</dc:date>
    <item>
      <title>if exists(field, 'value') then  ...  endif. Need a minimalistic working example.</title>
      <link>https://community.qlik.com/t5/App-Development/if-exists-field-value-then-endif-Need-a-minimalistic-working/m-p/2485729#M101311</link>
      <description>&lt;P&gt;I came across a construction in QV on the Internet:&lt;/P&gt;
&lt;P&gt;if exists(field, 'value') then&lt;BR /&gt;...&lt;BR /&gt;endif&lt;/P&gt;
&lt;P&gt;I applied it. There are no errors. But I don't see that it works at all. Could you give me a minimalistic working example. I know that exists is usually used when loading a table, but this is a different case.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 23:18:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/if-exists-field-value-then-endif-Need-a-minimalistic-working/m-p/2485729#M101311</guid>
      <dc:creator>NikVladi</dc:creator>
      <dc:date>2024-10-07T23:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: if exists(field, 'value') then  ...  endif. Need a minimalistic working example.</title>
      <link>https://community.qlik.com/t5/App-Development/if-exists-field-value-then-endif-Need-a-minimalistic-working/m-p/2485763#M101313</link>
      <description>&lt;P&gt;I believe exists() only works in load statements. Try FieldIndex instead.&lt;/P&gt;
&lt;PRE&gt;Fruits:&lt;BR /&gt;Load * inline [&lt;BR /&gt;Fruit&lt;BR /&gt;Apple&lt;BR /&gt;Banana&lt;BR /&gt;Grape];&lt;BR /&gt;&lt;BR /&gt;if FieldIndex('Fruit','Banana') &lt;BR /&gt;   trace Banana exists;&lt;BR /&gt;endif&lt;BR /&gt;&lt;BR /&gt;if FieldIndex('Fruit', 'Orange') then&lt;BR /&gt;   trace Orange exists;&lt;BR /&gt;endif&lt;BR /&gt;&lt;BR /&gt;if not FieldIndex('Fruit', 'Orange') then&lt;BR /&gt;   trace Orange does not exists;&lt;BR /&gt;endif&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 05:12:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/if-exists-field-value-then-endif-Need-a-minimalistic-working/m-p/2485763#M101313</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2024-10-08T05:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: if exists(field, 'value') then  ...  endif. Need a minimalistic working example.</title>
      <link>https://community.qlik.com/t5/App-Development/if-exists-field-value-then-endif-Need-a-minimalistic-working/m-p/2486074#M101341</link>
      <description>&lt;PRE&gt;Thanks. It works. But you know what else works? Exists instead of FieldIndex. It's really funny.&lt;BR /&gt;&lt;BR /&gt;Fruits:&lt;BR /&gt;Load * inline [&lt;BR /&gt;Fruit&lt;BR /&gt;Apple&lt;BR /&gt;Banana&lt;BR /&gt;Grape];&lt;BR /&gt;&lt;BR /&gt;if Exists('Fruit','Banana') &lt;BR /&gt;   trace Banana exists;&lt;BR /&gt;endif&lt;BR /&gt;&lt;BR /&gt;if Exists('Fruit', 'Orange') then&lt;BR /&gt;   trace Orange exists;&lt;BR /&gt;endif&lt;BR /&gt;&lt;BR /&gt;if not Exists('Fruit', 'Orange') then&lt;BR /&gt;   trace Orange does not exists;&lt;BR /&gt;endif&lt;/PRE&gt;</description>
      <pubDate>Tue, 08 Oct 2024 23:35:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/if-exists-field-value-then-endif-Need-a-minimalistic-working/m-p/2486074#M101341</guid>
      <dc:creator>NikVladi</dc:creator>
      <dc:date>2024-10-08T23:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: if exists(field, 'value') then  ...  endif. Need a minimalistic working example.</title>
      <link>https://community.qlik.com/t5/App-Development/if-exists-field-value-then-endif-Need-a-minimalistic-working/m-p/2486107#M101348</link>
      <description>&lt;P&gt;That is funny.🤯&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will try your syntax. I've assumed the first parameter to be a field reference and not a string, but I notice you use stringsforr all parameters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Me:&amp;nbsp;Exists(Fruit,'Banana')&lt;/P&gt;
&lt;P&gt;You: Exists('Fruit','Banana')&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is true, then it will my learning of the day. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 05:50:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/if-exists-field-value-then-endif-Need-a-minimalistic-working/m-p/2486107#M101348</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2024-10-09T05:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: if exists(field, 'value') then  ...  endif. Need a minimalistic working example.</title>
      <link>https://community.qlik.com/t5/App-Development/if-exists-field-value-then-endif-Need-a-minimalistic-working/m-p/2486108#M101349</link>
      <description>&lt;P&gt;Yeah, I decided to try it and it worked. You know, I think it's going to be a revelation for QlikTech in their entire history as well.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 05:58:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/if-exists-field-value-then-endif-Need-a-minimalistic-working/m-p/2486108#M101349</guid>
      <dc:creator>NikVladi</dc:creator>
      <dc:date>2024-10-09T05:58:08Z</dc:date>
    </item>
  </channel>
</rss>

