<?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 can i correct this expression in the script? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-i-correct-this-expression-in-the-script/m-p/1639076#M595576</link>
    <description>&lt;P&gt;Hi Jobsonkjoseph,&lt;/P&gt;&lt;P&gt;sorry, but in QV i don't find the CASE WHEN statement.&lt;/P&gt;&lt;P&gt;Can you give me any other suggest?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mattia&lt;/P&gt;</description>
    <pubDate>Wed, 23 Oct 2019 15:36:57 GMT</pubDate>
    <dc:creator>Mattia</dc:creator>
    <dc:date>2019-10-23T15:36:57Z</dc:date>
    <item>
      <title>How can i correct this expression in the script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-i-correct-this-expression-in-the-script/m-p/1639064#M595574</link>
      <description>&lt;P&gt;Hi QV users,&lt;/P&gt;&lt;P&gt;i've a problem with the following expressions in the script:&lt;/P&gt;&lt;P&gt;KEY_TO_VALORE_PRESTAZIONE:&lt;BR /&gt;Mapping LOAD&lt;BR /&gt;[@10:17] as CONTATORE_PRESCRIZIONE,&lt;BR /&gt;[@37:45] as VALORE_PRESTAZIONE&lt;/P&gt;&lt;P&gt;Num(If([@306:306]=0, if(ApplyMap('KEY_TO_VALORE_PRESTAZIONE',[@37:45],'n/a')&amp;gt;0,Num(Left([@37:45],7)&amp;amp;','&amp;amp;Num(Right([@37:45],2),0))))) as VALORE&lt;/P&gt;&lt;P&gt;The output i want to obtain is a new field called "VALORE" that if the field&amp;nbsp;[@306:306] contains the value "0", return the first 7 numbers of the field [@37:45], a comma, and the last 2 numbers of the same field.&lt;/P&gt;&lt;P&gt;Please, can someone show me the right direction?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mattia&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:49:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-i-correct-this-expression-in-the-script/m-p/1639064#M595574</guid>
      <dc:creator>Mattia</dc:creator>
      <dc:date>2024-11-16T19:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: How can i correct this expression in the script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-i-correct-this-expression-in-the-script/m-p/1639072#M595575</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;instead of applymap;&lt;/P&gt;&lt;P&gt;Can you try if the below code works out, i'm not so sure, but can try;&lt;/P&gt;&lt;P&gt;CASE WHEN([@306:306]=0) then left([@37:45],7) &amp;amp;','&amp;amp;right([@37:45],2) else 0 as VALORE&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 15:28:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-i-correct-this-expression-in-the-script/m-p/1639072#M595575</guid>
      <dc:creator>jobsonkjoseph</dc:creator>
      <dc:date>2019-10-23T15:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: How can i correct this expression in the script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-i-correct-this-expression-in-the-script/m-p/1639076#M595576</link>
      <description>&lt;P&gt;Hi Jobsonkjoseph,&lt;/P&gt;&lt;P&gt;sorry, but in QV i don't find the CASE WHEN statement.&lt;/P&gt;&lt;P&gt;Can you give me any other suggest?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mattia&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 15:36:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-i-correct-this-expression-in-the-script/m-p/1639076#M595576</guid>
      <dc:creator>Mattia</dc:creator>
      <dc:date>2019-10-23T15:36:57Z</dc:date>
    </item>
  </channel>
</rss>

