<?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 script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/script/m-p/861755#M659181</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;I have written the following line in my load script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(CL_OBAL&amp;gt;0 and (CL_OBAL-CL_ADJUS)=0 AND CL_CBAL=0,-1)AS NOs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though the script is nut I do not get the desired results(Nos as negative figure) Pls help me whether there is a better way of writing the code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Apr 2015 23:05:19 GMT</pubDate>
    <dc:creator>upaliwije</dc:creator>
    <dc:date>2015-04-06T23:05:19Z</dc:date>
    <item>
      <title>script</title>
      <link>https://community.qlik.com/t5/QlikView/script/m-p/861755#M659181</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;I have written the following line in my load script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(CL_OBAL&amp;gt;0 and (CL_OBAL-CL_ADJUS)=0 AND CL_CBAL=0,-1)AS NOs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though the script is nut I do not get the desired results(Nos as negative figure) Pls help me whether there is a better way of writing the code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 23:05:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script/m-p/861755#M659181</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2015-04-06T23:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.qlik.com/t5/QlikView/script/m-p/861756#M659182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try using nested if statements for each condition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 23:35:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script/m-p/861756#M659182</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-06T23:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.qlik.com/t5/QlikView/script/m-p/861757#M659183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what are some sample values for CL_OBAL , CL_ADJ, and CL_CBAL ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you might need to round to integers first...&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;IF(CL_OBAL&amp;gt;0 and&amp;nbsp; round(CL_OBAL)=round(CL_ADJUS) AND CL_CBAL=0,-1)AS NOs&lt;/SPAN&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;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; font-size: 13px;"&gt;or if there are 2 decimals&lt;/SPAN&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;BR /&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;IF(CL_OBAL&amp;gt;0 and&amp;nbsp; round(CL_OBAL*100)=round(CL_ADJUS*100) AND CL_CBAL=0,-1)AS NOs&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;BR /&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;and check out:&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;BR /&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;A href="https://community.qlik.com/qlik-blogpost/3471"&gt;Rounding Errors&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 23:37:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script/m-p/861757#M659183</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-04-06T23:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.qlik.com/t5/QlikView/script/m-p/861758#M659184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe your fields have Nulls instead of zeros. In this case try something like&lt;/P&gt;&lt;P&gt;if(len(CL_CBAL)=0&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;if(IsNull(CL_CBAL), ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 00:42:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script/m-p/861758#M659184</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2015-04-07T00:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.qlik.com/t5/QlikView/script/m-p/861759#M659185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What's your data?&lt;/P&gt;&lt;P&gt;What's your desired result?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 05:25:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script/m-p/861759#M659185</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-04-07T05:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.qlik.com/t5/QlikView/script/m-p/861760#M659186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please share your with sample data so that we can help you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 05:52:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script/m-p/861760#M659186</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-04-07T05:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.qlik.com/t5/QlikView/script/m-p/861761#M659187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is more towards data quality so scripts need to be modified as per the requirements of data&lt;/P&gt;&lt;P&gt;it would be great if you can share the sample qvw for further help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 05:57:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script/m-p/861761#M659187</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-07T05:57:31Z</dc:date>
    </item>
  </channel>
</rss>

