<?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: how to cast -1 to 1 while loading from Database in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-cast-1-to-1-while-loading-from-Database/m-p/395330#M147431</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is not a QV behaviour, but you can use fabs(field) to have absolute value so -1 will become 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Feb 2013 20:55:12 GMT</pubDate>
    <dc:creator>alexandros17</dc:creator>
    <dc:date>2013-02-01T20:55:12Z</dc:date>
    <item>
      <title>how to cast -1 to 1 while loading from Database</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-cast-1-to-1-while-loading-from-Database/m-p/395329#M147430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a strange issue, I have a field in my sql database which holds values 1 and 0 but when I load into QV its showing me -1 and 0 how should I change to 1 and 0...Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 20:53:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-cast-1-to-1-while-loading-from-Database/m-p/395329#M147430</guid>
      <dc:creator />
      <dc:date>2013-02-01T20:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to cast -1 to 1 while loading from Database</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-cast-1-to-1-while-loading-from-Database/m-p/395330#M147431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is not a QV behaviour, but you can use fabs(field) to have absolute value so -1 will become 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 20:55:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-cast-1-to-1-while-loading-from-Database/m-p/395330#M147431</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2013-02-01T20:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to cast -1 to 1 while loading from Database</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-cast-1-to-1-while-loading-from-Database/m-p/395331#M147432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(fieldname=-1,1,0) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, boolean fields have -1 or 0 values, so it's not really strange.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 20:56:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-cast-1-to-1-while-loading-from-Database/m-p/395331#M147432</guid>
      <dc:creator>danielrozental</dc:creator>
      <dc:date>2013-02-01T20:56:01Z</dc:date>
    </item>
  </channel>
</rss>

