<?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: Doubts about subfield function and if in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Doubts-about-subfield-function-and-if/m-p/755705#M1049353</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You certainly have some typo's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put this as the expression in a Text Object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =subfield ( '210453001-1-Current' , '-', 3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will display 'Current' , so shows you need subfield 3 and not 2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Nov 2014 17:25:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-11-03T17:25:12Z</dc:date>
    <item>
      <title>Doubts about subfield function and if</title>
      <link>https://community.qlik.com/t5/QlikView/Doubts-about-subfield-function-and-if/m-p/755703#M1049351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody. Im working on an application and i´m having problems with an if statement.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I´ll put the code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(Account'), '-', 2) = 'current', 'current', 'no current') AS Test&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The accounts are like this 210453001-1-Current or &lt;SPAN style="font-size: 13.6000003814697px;"&gt;210453001-1-NoCurrent &lt;/SPAN&gt;and i have to identify if they have the current or non current at the end, and put that on a new field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 17:19:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubts-about-subfield-function-and-if/m-p/755703#M1049351</guid>
      <dc:creator />
      <dc:date>2014-11-03T17:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Doubts about subfield function and if</title>
      <link>https://community.qlik.com/t5/QlikView/Doubts-about-subfield-function-and-if/m-p/755704#M1049352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IF(Subfield(Account,'-',-1)='Current','Current','No Current') as Test&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 17:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubts-about-subfield-function-and-if/m-p/755704#M1049352</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-11-03T17:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Doubts about subfield function and if</title>
      <link>https://community.qlik.com/t5/QlikView/Doubts-about-subfield-function-and-if/m-p/755705#M1049353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You certainly have some typo's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put this as the expression in a Text Object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =subfield ( '210453001-1-Current' , '-', 3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will display 'Current' , so shows you need subfield 3 and not 2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 17:25:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubts-about-subfield-function-and-if/m-p/755705#M1049353</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-03T17:25:12Z</dc:date>
    </item>
  </channel>
</rss>

