<?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: urgnt issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/urgnt-issue/m-p/1443010#M432764</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;if(len(fieldx)='0','N', 'Y') as fieldy&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Aug 2017 13:40:54 GMT</pubDate>
    <dc:creator>antoniotiman</dc:creator>
    <dc:date>2017-08-22T13:40:54Z</dc:date>
    <item>
      <title>urgnt issue</title>
      <link>https://community.qlik.com/t5/QlikView/urgnt-issue/m-p/1443004#M432758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(len(fieldx)='0',fieldy='N',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(len(&lt;SPAN style="font-size: 13.3333px;"&gt;fieldx&lt;/SPAN&gt;)&amp;gt;'0',&lt;SPAN style="font-size: 13.3333px;"&gt;fieldy&lt;/SPAN&gt;='Y','unk')) as flag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its not gving desired output &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 12:54:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/urgnt-issue/m-p/1443004#M432758</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-22T12:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: urgnt issue</title>
      <link>https://community.qlik.com/t5/QlikView/urgnt-issue/m-p/1443005#M432759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just remove fieldy on your statement&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;if(len(fieldx)=0,'N', if(len(&lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;fieldx&lt;/SPAN&gt;)&amp;gt;0,'Y','unk')) as flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(len(fieldx)=0 &lt;STRONG&gt;and&lt;/STRONG&gt; fieldy='N', if(len(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;fieldx&lt;/SPAN&gt;)&amp;gt;0 &lt;STRONG&gt;and &lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;fieldy&lt;/SPAN&gt;='Y','unk')) as flag // May be use OR operator if needed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 12:57:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/urgnt-issue/m-p/1443005#M432759</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-22T12:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: urgnt issue</title>
      <link>https://community.qlik.com/t5/QlikView/urgnt-issue/m-p/1443006#M432760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the desired output and what is the above giving? Can you share a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 12:57:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/urgnt-issue/m-p/1443006#M432760</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-22T12:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: urgnt issue</title>
      <link>https://community.qlik.com/t5/QlikView/urgnt-issue/m-p/1443007#M432761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this makes no sense!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;once you have checked that fieldx has a length of zero, there's no need for your next if condition, as fieldx must have a length of more than zero.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 13:14:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/urgnt-issue/m-p/1443007#M432761</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2017-08-22T13:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: urgnt issue</title>
      <link>https://community.qlik.com/t5/QlikView/urgnt-issue/m-p/1443008#M432762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe&lt;/P&gt;&lt;P&gt;if(len(fieldx)='0','N', if(len(&lt;SPAN style="font-size: 13.33px;"&gt;fieldx&lt;/SPAN&gt;)&amp;gt;'0','Y','unk')) as fieldy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 13:16:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/urgnt-issue/m-p/1443008#M432762</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-08-22T13:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: urgnt issue</title>
      <link>https://community.qlik.com/t5/QlikView/urgnt-issue/m-p/1443009#M432763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;output is ,it shud field y shud have n when there are null values in fieldx and &lt;/P&gt;&lt;P&gt;fieldy shud have y when the re are non null values in fieldx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 13:35:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/urgnt-issue/m-p/1443009#M432763</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-22T13:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: urgnt issue</title>
      <link>https://community.qlik.com/t5/QlikView/urgnt-issue/m-p/1443010#M432764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;if(len(fieldx)='0','N', 'Y') as fieldy&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 13:40:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/urgnt-issue/m-p/1443010#M432764</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-08-22T13:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: urgnt issue</title>
      <link>https://community.qlik.com/t5/QlikView/urgnt-issue/m-p/1443011#M432765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;try this,&lt;/STRONG&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;&lt;STRONG&gt;anyway you should not get negative values so check for not nulls and assign the values.&lt;BR /&gt;&lt;/STRONG&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;&lt;STRONG&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(len(fieldx)!=0,'Y', 'N') &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 13:41:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/urgnt-issue/m-p/1443011#M432765</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-22T13:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: urgnt issue</title>
      <link>https://community.qlik.com/t5/QlikView/urgnt-issue/m-p/1443012#M432766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(IsNull(fieldx),'N','Y') as fieldy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bearing in mind that an empty string '' is not the same as a null&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 13:45:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/urgnt-issue/m-p/1443012#M432766</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2017-08-22T13:45:01Z</dc:date>
    </item>
  </channel>
</rss>

