<?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: Division calculation in script  Qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Division-calculation-in-script-Qlikview/m-p/1787618#M1210216</link>
    <description>&lt;P&gt;Thanks Marcus.&lt;/P&gt;&lt;P&gt;The calculation which i mentioned is for particular selection. Once that selection is removed, the calculations happened with else condition.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did the calculations for dollar amount in Script .&amp;nbsp; Then it solved my issue.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Mar 2021 18:55:33 GMT</pubDate>
    <dc:creator>Maveer</dc:creator>
    <dc:date>2021-03-02T18:55:33Z</dc:date>
    <item>
      <title>Division calculation in script  Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Division-calculation-in-script-Qlikview/m-p/1781834#M1209552</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Need your help/assistance .&lt;/P&gt;&lt;P&gt;I want to do this below calculation at script level, please let me know, do this is possible.&lt;/P&gt;&lt;P&gt;(sum(Value1))&lt;BR /&gt;/(1+(SUM(Value2) / SUM(Value3)))*(SUM(Value2) / SUM(Value3))&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Value1 , Value2 , Value3&amp;nbsp; holds both decimal values and non-decimal values&lt;/P&gt;&lt;P&gt;I have applied this in chart expression, when ever&amp;nbsp; i choose different dimensions, numbers keep changing/dropped for same selection. Numbers should be same when ever user choose different dimensions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 04:55:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Division-calculation-in-script-Qlikview/m-p/1781834#M1209552</guid>
      <dc:creator>Maveer</dc:creator>
      <dc:date>2021-02-11T04:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Division calculation in script  Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Division-calculation-in-script-Qlikview/m-p/1782333#M1209634</link>
      <description>&lt;P&gt;That the results change if there are different dimensions used doesn't mean mandatory that anything is wrong.&lt;/P&gt;&lt;P&gt;Of course an unsuitable datamodel with missing/wrong associations between the used tables/fields could cause such effect.&lt;/P&gt;&lt;P&gt;Beside this the available data respectively the data-quality could also have an impact, for example if there are NULL's or any invalid values within the data. This means you need to ensure that you exactly knows which data are in which scenario available because only with this you will be able to decide if the return-values are the expected/wanted results or not and if not to deduce an appropriate way to prevent unwanted results, for example to implement some kind of error-handling by using alt(Field/Expressions, 'Default-Value') or similar stuff to prevent that operands in your expression are NULL or 0 (which wouldn't return a valid result as a divisor) or any other unwanted returns.&lt;/P&gt;&lt;P&gt;With a bit luck you could find the cause if you put all expression-parts as separate expression in your chart. If this don't showed very obvious reasons and/or you couldn't find a simple way to adjust the output in your favour you will need to create a tablebox with all relevant fields (all used dimension- and measure-fields) to see the wrong associations between them respectively the missing/wrong values.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 15:22:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Division-calculation-in-script-Qlikview/m-p/1782333#M1209634</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-02-12T15:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Division calculation in script  Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Division-calculation-in-script-Qlikview/m-p/1787618#M1210216</link>
      <description>&lt;P&gt;Thanks Marcus.&lt;/P&gt;&lt;P&gt;The calculation which i mentioned is for particular selection. Once that selection is removed, the calculations happened with else condition.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did the calculations for dollar amount in Script .&amp;nbsp; Then it solved my issue.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 18:55:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Division-calculation-in-script-Qlikview/m-p/1787618#M1210216</guid>
      <dc:creator>Maveer</dc:creator>
      <dc:date>2021-03-02T18:55:33Z</dc:date>
    </item>
  </channel>
</rss>

