<?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: Converting value into Yes or No in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Converting-value-into-Yes-or-No/m-p/1386164#M813436</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you have Nulls instead of 0. Can you check handle the nulls. May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if([Promo Code]=0 or &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Promo Code] = 'Null' or &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Promo Code] = '-' or IsNull(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Promo Code])&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;,'No','Yes')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Sep 2017 06:31:28 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-09-21T06:31:28Z</dc:date>
    <item>
      <title>Converting value into Yes or No</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-value-into-Yes-or-No/m-p/1386162#M813434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a column "Promotion code" in my table , I am creating pivot table, in that I want to see if the customer used a promo code or not ,for that I want to convert my feild value for example under if it is null or - it must say No and if there is promode like New20 then it is Yes. I am not doing this at script level , I am doing this at chart or expression level.&lt;/P&gt;&lt;P&gt;I have used &lt;STRONG&gt;if([Promo Code]=0,'No','Yes')&lt;/STRONG&gt; but it seems to give me all Yes for some reason.&lt;/P&gt;&lt;P&gt;Thanks in advance.&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/Converting-value-into-Yes-or-No/m-p/1386162#M813434</guid>
      <dc:creator>madhuqliklondon</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Converting value into Yes or No</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-value-into-Yes-or-No/m-p/1386163#M813435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&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: 13px;"&gt; &lt;/SPAN&gt;if( &lt;STRONG&gt;Len(trim(&lt;/STRONG&gt;[Promo Code]))=0,'No','Yes')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2017 06:31:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-value-into-Yes-or-No/m-p/1386163#M813435</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-09-21T06:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Converting value into Yes or No</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-value-into-Yes-or-No/m-p/1386164#M813436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you have Nulls instead of 0. Can you check handle the nulls. May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if([Promo Code]=0 or &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Promo Code] = 'Null' or &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Promo Code] = '-' or IsNull(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Promo Code])&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;,'No','Yes')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2017 06:31:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-value-into-Yes-or-No/m-p/1386164#M813436</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-21T06:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Converting value into Yes or No</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-value-into-Yes-or-No/m-p/1386165#M813437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(isnull([Promo Code]),'No','Yes')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pratik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2017 06:32:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-value-into-Yes-or-No/m-p/1386165#M813437</guid>
      <dc:creator>mostwanted123</dc:creator>
      <dc:date>2017-09-21T06:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Converting value into Yes or No</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-value-into-Yes-or-No/m-p/1386166#M813438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2017 06:46:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-value-into-Yes-or-No/m-p/1386166#M813438</guid>
      <dc:creator>madhuqliklondon</dc:creator>
      <dc:date>2017-09-21T06:46:04Z</dc:date>
    </item>
  </channel>
</rss>

