<?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: How to convert this sql into my script ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-convert-this-sql-into-my-script/m-p/114214#M758096</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've posted in the question&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Sep 2018 03:22:20 GMT</pubDate>
    <dc:creator>bhaveshp90</dc:creator>
    <dc:date>2018-09-11T03:22:20Z</dc:date>
    <item>
      <title>How to convert this sql into my script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-this-sql-into-my-script/m-p/114212#M758094</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 my SQL query as shown below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;CASE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; WHEN [Probable_Position_wo_LDs] NOT LIKE '%#%'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp; THEN CAST(REPLACE(SUBSTRING([Probable_Position_wo_LDs],4,10),',','') AS FLOAT)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; END AS [Probable Risk Position w/o Damages (R-C-Cont)],&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;&lt;SPAN style="font-size: 13.3333px;"&gt;How can I convert this into my script and load? Any help is greatly appreciated.&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;&lt;SPAN style="font-size: 13.3333px;"&gt;Dummy Data:&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="1436"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl64" height="22" width="108"&gt;Project_Number&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="151"&gt;Risk_Contingency_WBS&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="145"&gt;Probable_Position&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="75"&gt;Region&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="100"&gt;Snapshot_Date&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="174"&gt;Probable_Position_wo_LDs&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="204"&gt;Probable_Contractual_Penalties&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="194"&gt;Full_impact_Contractual_Risks&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="107"&gt;Net_Full_Impact&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="178"&gt;Probable_Managed_Impact&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="22" style="border-top: none;" width="108"&gt;P04950&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;" width="151"&gt;168192.74&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="145"&gt;(C) -1942.73999999999&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="75"&gt;ANZ-ASEAN&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;" width="100"&gt;11/30/2017&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="174"&gt;(C) -1942.73999999999&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="204"&gt;(R) 0&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="194"&gt;(R) 0&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="107"&gt;(R) 2900000&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="178"&gt;(R) 113250&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="22" style="border-top: none;" width="108"&gt;P06012&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;" width="151"&gt;5395.92&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="145"&gt;(R) 181904.08&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="75"&gt;ANZ-ASEAN&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;" width="100"&gt;11/30/2017&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="174"&gt;(R) 70604.08&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="204"&gt;(R) 111300&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="194"&gt;(R) 445200&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="107"&gt;(R) 591000&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="178"&gt;(R) 176170&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="22" style="border-top: none;" width="108"&gt;P06233&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;" width="151"&gt;10000&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="145"&gt;(C) -36000&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="75"&gt;ANZ-ASEAN&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;" width="100"&gt;11/30/2017&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="174"&gt;(C) -36000&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="204"&gt;(R) 0&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="194"&gt;(R) 0&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="107"&gt;(R) 155000&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="178"&gt;(C) -28600&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="22" style="border-top: none;" width="108"&gt;P06271&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;" width="151"&gt;63815&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="145"&gt;(C) -63815&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="75"&gt;ANZ-ASEAN&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;" width="100"&gt;11/30/2017&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="174"&gt;(C) -63815&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="204"&gt;(R) 0&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="194"&gt;(R) 0&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="107"&gt;(R) 20000&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="178"&gt;(R) 9000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Bhavesh &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-this-sql-into-my-script/m-p/114212#M758094</guid>
      <dc:creator>bhaveshp90</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert this sql into my script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-this-sql-into-my-script/m-p/114213#M758095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you attach some dummy data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2018 03:16:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-this-sql-into-my-script/m-p/114213#M758095</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2018-09-11T03:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert this sql into my script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-this-sql-into-my-script/m-p/114214#M758096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've posted in the question&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2018 03:22:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-this-sql-into-my-script/m-p/114214#M758096</guid>
      <dc:creator>bhaveshp90</dc:creator>
      <dc:date>2018-09-11T03:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert this sql into my script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-this-sql-into-my-script/m-p/114215#M758097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you show us expected results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2018 05:22:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-this-sql-into-my-script/m-p/114215#M758097</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2018-09-11T05:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert this sql into my script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-this-sql-into-my-script/m-p/114216#M758098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhavesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;if(not wildmatch(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;[Probable_Position_wo_LDs],'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;%#%'),&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;num(left(right(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;[Probable_Position_wo_LDs],len(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;[Probable_Position_wo_LDs])-2),10))) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;[Probable_Position_wo_LDs],&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;END AS [Probable Risk Position w/o Damages (R-C-Cont)]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;from &amp;lt;your table&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;Br,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;KC&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2018 06:10:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-this-sql-into-my-script/m-p/114216#M758098</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2018-09-11T06:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert this sql into my script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-this-sql-into-my-script/m-p/114217#M758099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the Error message I am getting through "Field not found: Field End not found"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Script: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Risk_Register1: &lt;/P&gt;&lt;P&gt;NoConcatenate load &lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;if(not wildmatch([Probable_Position_wo_LDs],'%#%'),num(left(right([Probable_Position_wo_LDs],len([Probable_Position_wo_LDs])-2),10))) as [Probable_Position_wo_LDs], END AS [Probable Risk Position w/o Damages (R-C-Cont)]&lt;/P&gt;&lt;P&gt;Resident Risk_Register;&lt;/P&gt;&lt;P&gt;drop table Risk_Register;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2018 12:22:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-this-sql-into-my-script/m-p/114217#M758099</guid>
      <dc:creator>bhaveshp90</dc:creator>
      <dc:date>2018-09-11T12:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert this sql into my script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-this-sql-into-my-script/m-p/114218#M758100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how about the below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: inherit; font-size: 13.33px; font-style: inherit; font-weight: inherit;"&gt;if(not wildmatch(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.33px;"&gt;[Probable_Position_wo_LDs],'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.33px;"&gt;%#%'),&lt;/SPAN&gt;&lt;/SPAN&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: 13.33px; font-style: inherit; font-weight: inherit;"&gt;num(left(right(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.33px;"&gt;[Probable_Position_wo_LDs],len(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.33px;"&gt;[Probable_Position_wo_LDs])-2),10))) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.33px;"&gt;[Probable_Position_wo_LDs],&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&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: 13.33px; font-style: inherit; font-weight: inherit;"&gt;[END] AS [Probable Risk Position w/o Damages (R-C-Cont)]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.33px; font-style: inherit; font-weight: inherit;"&gt;Note: I used Jyothish code and wrapped the "END" in square brackets.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2018 12:45:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-this-sql-into-my-script/m-p/114218#M758100</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2018-09-11T12:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert this sql into my script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-this-sql-into-my-script/m-p/114219#M758101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the "END" is the closing statement of the sql CASE command, so &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(not wildmatch([Probable_Position_wo_LDs],'%#%'),num(left(right([Probable_Position_wo_LDs],len([Probable_Position_wo_LDs])-2),10))) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;[Probable Risk Position w/o Damages (R-C-Cont)]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2018 13:01:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-this-sql-into-my-script/m-p/114219#M758101</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2018-09-11T13:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert this sql into my script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-this-sql-into-my-script/m-p/114220#M758102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My bad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"END" is the keyword to close the case statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NoConcatenate load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;*,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;if(not wildmatch(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;[Probable_Position_wo_LDs],'&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;%#%'),&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;num(left(right(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;[Probable_Position_wo_LDs],len(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;[Probable_Position_wo_LDs])-2),10))) as &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;[Probable_Position_wo_LDs]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident Risk_Register;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;drop table Risk_Register;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Br,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2018 13:10:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-this-sql-into-my-script/m-p/114220#M758102</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2018-09-11T13:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert this sql into my script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-this-sql-into-my-script/m-p/114221#M758103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Be aware that '%#%' will be taken as a literal string, meaning "%#%". QlikView accepts only two wildcards: ? for one character and * for none, one or more character. The hash sign or pound sign "#" does not mean "number".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So your expression above will always go to the else part of the If(), because it will not be true unless the string %#% is found in the field [Probable_Position_wo_LDs]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For that you will need to use instead something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Len(KeepChar(&lt;SPAN style="font-size: 13.3333px;"&gt;[Probable_Position_wo_LDs]&lt;/SPAN&gt;, '0123456790,.-'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;meaning there is at least one of those characters in the string, considering the negative "-" sign, decimal and thousand separators as "," and ".".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2018 14:12:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-this-sql-into-my-script/m-p/114221#M758103</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2018-09-11T14:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert this sql into my script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-this-sql-into-my-script/m-p/114222#M758104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The script loaded correctly when I removed the end statement &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2018 14:19:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-this-sql-into-my-script/m-p/114222#M758104</guid>
      <dc:creator>bhaveshp90</dc:creator>
      <dc:date>2018-09-11T14:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert this sql into my script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-this-sql-into-my-script/m-p/114223#M758105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was very helpful, thank you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2018 14:20:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-this-sql-into-my-script/m-p/114223#M758105</guid>
      <dc:creator>bhaveshp90</dc:creator>
      <dc:date>2018-09-11T14:20:47Z</dc:date>
    </item>
  </channel>
</rss>

