<?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: Pattern in logic test in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pattern-in-logic-test/m-p/1130829#M627751</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;load * ,if(string='/',value*3,value) as newvalue;&lt;/P&gt;&lt;P&gt;load *,mid(invoice,3,1) as string Resident tab1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Veera&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Aug 2016 13:11:03 GMT</pubDate>
    <dc:creator>veeranj</dc:creator>
    <dc:date>2016-08-18T13:11:03Z</dc:date>
    <item>
      <title>Pattern in logic test</title>
      <link>https://community.qlik.com/t5/QlikView/Pattern-in-logic-test/m-p/1130827#M627749</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;I have a set of data with invoice number (INVOICE_NO) and value (INVOICE_VALUE)&lt;/P&gt;&lt;P&gt;I need to transform INVOICE_VALUE when the first 3 letters of &lt;SPAN style="font-size: 13.3333px;"&gt;INVOICE_NO match the pattern (nn/)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;example if INVOICE_NO begins on: 16/ 17/ 99/ 14/ I would like to multiply INVOICE_VALUE by 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 12:56:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pattern-in-logic-test/m-p/1130827#M627749</guid>
      <dc:creator>arsenal1983</dc:creator>
      <dc:date>2016-08-18T12:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern in logic test</title>
      <link>https://community.qlik.com/t5/QlikView/Pattern-in-logic-test/m-p/1130828#M627750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like this: if(mid(INVOICE_NO, 3, 1) = '/' and isnum(mid(INVOICE_NO, 1, 2)), 3, 'anotherValue').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 13:04:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pattern-in-logic-test/m-p/1130828#M627750</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-08-18T13:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern in logic test</title>
      <link>https://community.qlik.com/t5/QlikView/Pattern-in-logic-test/m-p/1130829#M627751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;load * ,if(string='/',value*3,value) as newvalue;&lt;/P&gt;&lt;P&gt;load *,mid(invoice,3,1) as string Resident tab1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Veera&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 13:11:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pattern-in-logic-test/m-p/1130829#M627751</guid>
      <dc:creator>veeranj</dc:creator>
      <dc:date>2016-08-18T13:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern in logic test</title>
      <link>https://community.qlik.com/t5/QlikView/Pattern-in-logic-test/m-p/1130830#M627752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe helpful:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14716580873752137 jive_text_macro" jivemacro_uid="_14716580873752137"&gt;
&lt;P&gt;LOAD If(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;INVOICE_VALUE like '??/*' and IsNum(Left(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;INVOICE_VALUE,2&lt;/SPAN&gt;))&lt;/SPAN&gt;, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;INVOICE_VALUE*3, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;INVOICE_VALUE&lt;/SPAN&gt;&lt;/SPAN&gt;) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;INVOICE_VALUE&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FROM YourSource;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Aug 2016 01:54:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pattern-in-logic-test/m-p/1130830#M627752</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-08-20T01:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern in logic test</title>
      <link>https://community.qlik.com/t5/QlikView/Pattern-in-logic-test/m-p/1130831#M627753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you need to test the start of your string for certain values, like '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;16/', '17/', '99/',&amp;nbsp; or&amp;nbsp; '14/',&amp;nbsp; you can also use the Match() function:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LOAD &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INVOICE_NO,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If( Match( Left( INVOICE_NO,3),&amp;nbsp; '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;16/', '17/', '99/', '14/'), 3, 1) * INVOICE_VALUE&amp;nbsp; As INVOICE_VALUE,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FROM ....;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Aug 2016 11:36:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pattern-in-logic-test/m-p/1130831#M627753</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-08-20T11:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern in logic test</title>
      <link>https://community.qlik.com/t5/QlikView/Pattern-in-logic-test/m-p/1130832#M627754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lukasz,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; What about:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(IsNum(Left(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;INVOICE_NO&lt;/SPAN&gt;,2)) AND Mid(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;INVOICE_NO,3,1( = '/'),3*&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;INVOICE_VALUE,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;INVOICE_VALUE)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Aug 2016 11:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pattern-in-logic-test/m-p/1130832#M627754</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2016-08-20T11:55:16Z</dc:date>
    </item>
  </channel>
</rss>

