<?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: Boolean values - Looking for alternative options and results! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Boolean-values-Looking-for-alternative-options-and-results/m-p/409670#M152347</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gysbert! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Apr 2013 15:13:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-04-01T15:13:55Z</dc:date>
    <item>
      <title>Boolean values - Looking for alternative options and results!</title>
      <link>https://community.qlik.com/t5/QlikView/Boolean-values-Looking-for-alternative-options-and-results/m-p/409668#M152345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looking for better alternative for working with Boolean values.&amp;nbsp; I am using SQL select, not working with QVD. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT &lt;/P&gt;&lt;P&gt;OrderHed.OrderNum, &lt;/P&gt;&lt;P&gt;OrderHed.Checkbox01 as&lt;STRONG&gt; 'SymTS&lt;/STRONG&gt;' // 0 or 1&lt;/P&gt;&lt;P&gt;FROM "SUB_SMI".dbo.OrderHed;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QV Listbox Properties: &lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="35849" class="jive-image" alt="Capture1.PNG" src="https://community.qlik.com/legacyfs/online/35849_Capture1.PNG" /&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QV ListBox on Sheet:&amp;nbsp; Why does the value 1 TRUE change to FALSE when value 0 FALSE is selected? &lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="35850" class="jive-image" alt="Capture2.PNG" src="https://community.qlik.com/legacyfs/online/35850_Capture2.PNG" /&gt;&lt;IMG __jive_id="35853" class="jive-image" alt="Capture3.PNG" src="https://community.qlik.com/legacyfs/online/35853_Capture3.PNG" /&gt;&lt;IMG __jive_id="35852" class="jive-image" alt="Capture4.PNG" src="https://community.qlik.com/legacyfs/online/35852_Capture4.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QV Selected on Sheet:&amp;nbsp; Would prefer the Value "TRUE" or "FALSE" to appear.&amp;nbsp; Can this be done? &lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="35854" class="jive-image" alt="Capture5.PNG" src="https://community.qlik.com/legacyfs/online/35854_Capture5.PNG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2013 14:23:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Boolean-values-Looking-for-alternative-options-and-results/m-p/409668#M152345</guid>
      <dc:creator />
      <dc:date>2013-04-01T14:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean values - Looking for alternative options and results!</title>
      <link>https://community.qlik.com/t5/QlikView/Boolean-values-Looking-for-alternative-options-and-results/m-p/409669#M152346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Qlikview doesn't have a boolean type. So your boolean gets loaded into qlikview as a number. If a number is used as a condition in for example an if statement then any number other than 0 is true and 0 itself is evaluated as false.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use the dual value to give it a text as well as a numeric value:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;dual(if(OrderHed.Checkbox01,'True','False'), &lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;OrderHed.Checkbox01) as SymTS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;This way SymTS will shown as True or False text values.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2013 14:55:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Boolean-values-Looking-for-alternative-options-and-results/m-p/409669#M152346</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-04-01T14:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean values - Looking for alternative options and results!</title>
      <link>https://community.qlik.com/t5/QlikView/Boolean-values-Looking-for-alternative-options-and-results/m-p/409670#M152347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gysbert! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2013 15:13:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Boolean-values-Looking-for-alternative-options-and-results/m-p/409670#M152347</guid>
      <dc:creator />
      <dc:date>2013-04-01T15:13:55Z</dc:date>
    </item>
  </channel>
</rss>

