<?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: Need help in the text box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-in-the-text-box/m-p/805675#M1047914</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Replace ID with primary key from your table&lt;/P&gt;&lt;P&gt;=If(Len(Trim([COD]=0)),Count({&amp;lt;ID={'=Len(Trim([COD]))=0'}&amp;gt;}ID),'Nil')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Nov 2014 05:51:09 GMT</pubDate>
    <dc:creator>anbu1984</dc:creator>
    <dc:date>2014-11-11T05:51:09Z</dc:date>
    <item>
      <title>Need help in the text box</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-the-text-box/m-p/805669#M1047908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need help in the Text box object, the expression, as I trying to display if the "COD" has no value it should print "NIL".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the following expression works but prints as "0", can you help me how to print as Nil if its 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Len(Trim([COD]=0)),Count({&amp;lt;[COD]={' '}&amp;gt;}[COD]),'Nil')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 05:31:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-the-text-box/m-p/805669#M1047908</guid>
      <dc:creator />
      <dc:date>2014-11-11T05:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in the text box</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-the-text-box/m-p/805670#M1047909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TRy like&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;"&gt;=If(Len(Trim([&lt;/SPAN&gt;&lt;SPAN class="yz06d9f" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; margin: 0 !important; padding: 0 !important; border-bottom-width: 1px !important; text-decoration: underline !important; color: #009900 !important;"&gt;COD&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;])) &lt;STRONG&gt;= 0&lt;/STRONG&gt; ,Count({&amp;lt;[COD]={' '}&amp;gt;}[COD]),'Nil')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Anand&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 05:35:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-the-text-box/m-p/805670#M1047909</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-11-11T05:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in the text box</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-the-text-box/m-p/805671#M1047910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(len(Trim([COD]))&amp;gt;0,count([COD]),'Nil')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 05:40:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-the-text-box/m-p/805671#M1047910</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-11-11T05:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in the text box</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-the-text-box/m-p/805672#M1047911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Thanks for your reply Anand Chouhan, but it still gives same result of 0 only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 05:40:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-the-text-box/m-p/805672#M1047911</guid>
      <dc:creator />
      <dc:date>2014-11-11T05:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in the text box</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-the-text-box/m-p/805673#M1047912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=If(Len(Trim([&lt;/SPAN&gt;&lt;SPAN class="yz06d9f" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; margin: 0 !important; padding: 0 !important; border-bottom-width: 1px !important; text-decoration: underline !important; color: #009900 !important;"&gt;COD&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;])) &amp;gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;= 0&lt;/STRONG&gt; ,Count({&amp;lt;[COD]={' '}&amp;gt;}[COD]),'Nil')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=If(Len(Trim([&lt;/SPAN&gt;&lt;SPAN class="yz06d9f" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; margin: 0 !important; padding: 0 !important; border-bottom-width: 1px !important; text-decoration: underline !important; color: #009900 !important;"&gt;COD&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;])) &amp;gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; 0&lt;/STRONG&gt; ,Count([COD]),'Nil')&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;"&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;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 05:45:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-the-text-box/m-p/805673#M1047912</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-11-11T05:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in the text box</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-the-text-box/m-p/805674#M1047913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;Like&lt;/P&gt;&lt;P&gt;=Count(If(Len(Trim([COD]))=0,[COD]))&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;[COD]={"isnull(COD)"}&amp;gt;}[COD])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 05:47:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-the-text-box/m-p/805674#M1047913</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-11-11T05:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in the text box</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-the-text-box/m-p/805675#M1047914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Replace ID with primary key from your table&lt;/P&gt;&lt;P&gt;=If(Len(Trim([COD]=0)),Count({&amp;lt;ID={'=Len(Trim([COD]))=0'}&amp;gt;}ID),'Nil')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 05:51:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-the-text-box/m-p/805675#M1047914</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-11-11T05:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in the text box</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-the-text-box/m-p/805676#M1047915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(isnull(COD),'Nil', COD)&lt;/P&gt;&lt;P&gt;Hope it will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apurva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 07:11:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-the-text-box/m-p/805676#M1047915</guid>
      <dc:creator />
      <dc:date>2014-11-11T07:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in the text box</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-the-text-box/m-p/805677#M1047916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vincent,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my view it should simply be,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(COD='','NIL', COD) as CODValue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this help. It simply evaluates if COD is an empty string or not&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mark this as answered and complete if this is helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 12:56:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-the-text-box/m-p/805677#M1047916</guid>
      <dc:creator>mjm</dc:creator>
      <dc:date>2014-11-11T12:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in the text box</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-the-text-box/m-p/805678#M1047917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Len(Trim([&lt;SPAN class="yz06d9f" style="margin: 0px !important; padding: 0px !important; color: #009900 !important; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; text-decoration: underline !important; border-bottom-width: 1px !important;"&gt;COD&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;])) &lt;STRONG&gt;= 0&lt;/STRONG&gt; ,'Nil') Or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Alt([COD], 'Nil')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 13:47:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-the-text-box/m-p/805678#M1047917</guid>
      <dc:creator />
      <dc:date>2014-11-11T13:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in the text box</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-the-text-box/m-p/805679#M1047918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(isnull(COD)=-1,'nil',0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 13:52:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-the-text-box/m-p/805679#M1047918</guid>
      <dc:creator />
      <dc:date>2014-11-11T13:52:01Z</dc:date>
    </item>
  </channel>
</rss>

