<?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 mit like Bedingung im Load Statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/if-mit-like-Bedingung-im-Load-Statement/m-p/19911#M3287</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;So I put that if statement in the main load and not a previous one, and it works.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Thanks!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jun 2018 10:18:05 GMT</pubDate>
    <dc:creator>merry2018</dc:creator>
    <dc:date>2018-06-13T10:18:05Z</dc:date>
    <item>
      <title>if mit like Bedingung im Load Statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-mit-like-Bedingung-im-Load-Statement/m-p/19905#M3281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo Zusammen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ich hätte mal wieder eine Frage an Euch. &lt;BR /&gt;Und zwar möchte ich im Load-Script ein If mit einer Bedingung, welche nur die ersten zwei Buchstaben eines Wortes anschaut, einbauen.&lt;/P&gt;&lt;P&gt;Dazu ein Beispiel:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="99" style="border: 1px solid rgb(0, 0, 0); border-image: none; width: 258px; height: 57px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Teil&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Menge&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Datum&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A123&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1.1.18&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A234&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1.2.18&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;B345&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;50&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1.2.18&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B342&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;1.3.18&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Ich habe eine Tabelle mit drei Feldern, unter anderem dem Feld Teil, wozu ich aber ein weiteres Feld einbauen will, welches diese in ihre Gruppen unterteilt. Also alle welche mit 'A' Beginnen sollen in die 'Gruppe1' und die mit 'B' in 'Gruppe2', der Rest soll in 'Sonstiges'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Versucht habe ich es mit folgendem vorangehendem Load:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_1528879499468365 jive_text_macro" jivemacro_uid="_1528879499468365" modifiedtitle="true"&gt;
&lt;P&gt;Teile:&lt;/P&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt; if(wildmatch(Teil, 'A*'), 'Gruppe1', &lt;/P&gt;
&lt;P&gt;&amp;nbsp; if(WildMatch(Teil, 'B*'), Gruppe2','Sonstiges')) as Gruppe;&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Teil,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Menge,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Datum&lt;/P&gt;
&lt;P&gt;From .....;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aber leider hängt er sich an diesen Zeilen immer auf, ohne Fehlermeldung.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ich wäre euch sehr dankbar über Hinweise oder Hilfe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Grüße &lt;BR /&gt;Merry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 09:11:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-mit-like-Bedingung-im-Load-Statement/m-p/19905#M3281</guid>
      <dc:creator>merry2018</dc:creator>
      <dc:date>2018-06-13T09:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: if mit like Bedingung im Load Statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-mit-like-Bedingung-im-Load-Statement/m-p/19906#M3282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be a single quote issue correction helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL class="dp-c" start="1" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; list-style-position: initial; list-style-image: initial; color: #5c5c5c; margin: 0 0 1px 45px !important;"&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-size: 9pt !important; font-style: inherit; background-color: inherit; font-family: inherit; font-weight: inherit;"&gt;LOAD&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-size: 9pt !important; font-style: inherit; background-color: inherit; font-family: inherit; font-weight: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Part,&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-size: 9pt !important; font-style: inherit; background-color: inherit; font-family: inherit; font-weight: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Amount,&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-size: 9pt !important; font-style: inherit; background-color: inherit; font-family: inherit; font-weight: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; date,&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-size: 9pt !important; font-style: inherit; background-color: inherit; font-family: inherit; font-weight: inherit;"&gt;if (wildmatch (part, 'A *'), 'group1',&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-size: 9pt !important; font-style: inherit; background-color: inherit; font-family: inherit; font-weight: inherit;"&gt;&amp;nbsp; if (WildMatch (part, 'B *'), &lt;STRONG&gt;&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;'&lt;/SPAN&gt;group2&lt;/STRONG&gt;&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;'&lt;/SPAN&gt;,' other ')) as group&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-size: 9pt !important; font-style: inherit; background-color: inherit; font-family: inherit; font-weight: inherit;"&gt;From .....; &lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 09:39:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-mit-like-Bedingung-im-Load-Statement/m-p/19906#M3282</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-06-13T09:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: if mit like Bedingung im Load Statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-mit-like-Bedingung-im-Load-Statement/m-p/19907#M3283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for that notiz, but maybe I vergott it here. In my Script is it correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Must be an other mistake in there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 09:46:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-mit-like-Bedingung-im-Load-Statement/m-p/19907#M3283</guid>
      <dc:creator>merry2018</dc:creator>
      <dc:date>2018-06-13T09:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: if mit like Bedingung im Load Statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-mit-like-Bedingung-im-Load-Statement/m-p/19908#M3284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does it load smoothly without this wildmatch() statement? How long does it take?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 09:49:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-mit-like-Bedingung-im-Load-Statement/m-p/19908#M3284</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-06-13T09:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: if mit like Bedingung im Load Statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-mit-like-Bedingung-im-Load-Statement/m-p/19909#M3285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without that Load part [with the if(wildmatch())] it take lesser than a Minute, and with that it take so Long, till I stopp it hard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 09:59:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-mit-like-Bedingung-im-Load-Statement/m-p/19909#M3285</guid>
      <dc:creator>merry2018</dc:creator>
      <dc:date>2018-06-13T09:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: if mit like Bedingung im Load Statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-mit-like-Bedingung-im-Load-Statement/m-p/19910#M3286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe it is an other mistake, because a normal if condition doesn't work as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 10:09:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-mit-like-Bedingung-im-Load-Statement/m-p/19910#M3286</guid>
      <dc:creator>merry2018</dc:creator>
      <dc:date>2018-06-13T10:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: if mit like Bedingung im Load Statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-mit-like-Bedingung-im-Load-Statement/m-p/19911#M3287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;So I put that if statement in the main load and not a previous one, and it works.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Thanks!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 10:18:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-mit-like-Bedingung-im-Load-Statement/m-p/19911#M3287</guid>
      <dc:creator>merry2018</dc:creator>
      <dc:date>2018-06-13T10:18:05Z</dc:date>
    </item>
  </channel>
</rss>

