<?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: Finding if value exists inside field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Finding-if-value-exists-inside-field/m-p/969376#M645770</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually that's what I assumed - that your field CitiesWithFactory has several values, one for each city, not a single concatenated value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both versions should be supported by&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=WildMatch( Concat(DISTINCT CitiesWithFactory, ', '), '*Berlin*') &amp;gt;0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Oct 2015 16:06:21 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-10-27T16:06:21Z</dc:date>
    <item>
      <title>Finding if value exists inside field</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-if-value-exists-inside-field/m-p/969372#M645766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a field called CitiesWithFactory. It contains cities that have cars in the factory of the city.&lt;/P&gt;&lt;P&gt;for example I have New York, London and Berlin, if Berlin doesn't have any cars at the moment the field would look like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;CitiesWithFactory&lt;/SPAN&gt;: New York, London&lt;/P&gt;&lt;P&gt;I have a button for each city which I want to disable if there are no cars in it.&lt;/P&gt;&lt;P&gt;How do I check if the field contains the city?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 08:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-if-value-exists-inside-field/m-p/969372#M645766</guid>
      <dc:creator />
      <dc:date>2015-10-27T08:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Finding if value exists inside field</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-if-value-exists-inside-field/m-p/969373#M645767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({1&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;CitiesWithFactory&lt;/SPAN&gt; *= {'Berlin'} &amp;gt;} CitiesWithFactory) &amp;gt;0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 15:56:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-if-value-exists-inside-field/m-p/969373#M645767</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-10-27T15:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Finding if value exists inside field</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-if-value-exists-inside-field/m-p/969374#M645768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use function FindOneOf&lt;/P&gt;&lt;P&gt;for each button you can define&lt;/P&gt;&lt;P&gt;if (FindOneOf(&lt;SPAN style="font-size: 13.33px;"&gt;CitiesWithFactory&lt;/SPAN&gt;,'Berlin')&amp;gt;0&amp;nbsp;&amp;nbsp; if Berlin is in List it Returns the Position of the text, otherwise 0&lt;/P&gt;&lt;P&gt;you can use conditional layout to Show or hide button&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 15:59:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-if-value-exists-inside-field/m-p/969374#M645768</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-27T15:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Finding if value exists inside field</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-if-value-exists-inside-field/m-p/969375#M645769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it could be helpful if you splitted this field within the script, for example with a subfield-function like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID, /* relation to other tables probably per datefield and others*/ &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(&lt;SPAN style="font-size: 13.3333px;"&gt;CitiesWithFactory, ',') as &lt;SPAN style="font-size: 13.3333px;"&gt;CitiesWithFactory,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SomeOtherFields&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;From xyz;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Often it's easier to use normal fields and not such combined values which it make only difficult without any further value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 16:00:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-if-value-exists-inside-field/m-p/969375#M645769</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-10-27T16:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Finding if value exists inside field</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-if-value-exists-inside-field/m-p/969376#M645770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually that's what I assumed - that your field CitiesWithFactory has several values, one for each city, not a single concatenated value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both versions should be supported by&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=WildMatch( Concat(DISTINCT CitiesWithFactory, ', '), '*Berlin*') &amp;gt;0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 16:06:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-if-value-exists-inside-field/m-p/969376#M645770</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-10-27T16:06:21Z</dc:date>
    </item>
  </channel>
</rss>

