<?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 Can someone crack this? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Can-someone-crack-this/m-p/245021#M93400</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a annoying query for which I am searching for an answer for sometime now. I have the below expression which shows different results in Pivot and Straight Tables. Both use YearMonth only as Dimension. The result seen in Straight table is correct and I want that on the Pivot as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=1-pow((1-((rangesum(below(sum({$&amp;lt;DimTransactionType.TransactionType={'Redemption TT'}&amp;gt;}vLastFctPayment.Amount),0,20)))/&lt;/P&gt;&lt;P&gt;(sum(if(vLastFctStandingData.Measure='Total balance @ purchase',vLastFctStandingData.Value,0))))),&lt;/P&gt;&lt;P&gt;(1/((12*(year(max(Calendar.DateValue))-year($(vAcquiredDate))) + (month(max(Calendar.DateValue))-month($(vAcquiredDate))))/12)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only difference between the &lt;STRONG&gt;Pivot&lt;/STRONG&gt; and &lt;STRONG&gt;Straight&lt;/STRONG&gt; table expressions is the &lt;STRONG&gt;rangesum(after&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp; and &lt;STRONG&gt;rangesum(below&lt;/STRONG&gt; , can someone please help me crack this, as its really tough for me to understand if I am missing somthing around rangesum function or anything else..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="LikeThis.JPG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/6266_LikeThis.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance, &lt;/P&gt;&lt;P&gt;Mady&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Aug 2011 09:13:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-08-03T09:13:25Z</dc:date>
    <item>
      <title>Can someone crack this?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-someone-crack-this/m-p/245021#M93400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a annoying query for which I am searching for an answer for sometime now. I have the below expression which shows different results in Pivot and Straight Tables. Both use YearMonth only as Dimension. The result seen in Straight table is correct and I want that on the Pivot as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=1-pow((1-((rangesum(below(sum({$&amp;lt;DimTransactionType.TransactionType={'Redemption TT'}&amp;gt;}vLastFctPayment.Amount),0,20)))/&lt;/P&gt;&lt;P&gt;(sum(if(vLastFctStandingData.Measure='Total balance @ purchase',vLastFctStandingData.Value,0))))),&lt;/P&gt;&lt;P&gt;(1/((12*(year(max(Calendar.DateValue))-year($(vAcquiredDate))) + (month(max(Calendar.DateValue))-month($(vAcquiredDate))))/12)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only difference between the &lt;STRONG&gt;Pivot&lt;/STRONG&gt; and &lt;STRONG&gt;Straight&lt;/STRONG&gt; table expressions is the &lt;STRONG&gt;rangesum(after&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp; and &lt;STRONG&gt;rangesum(below&lt;/STRONG&gt; , can someone please help me crack this, as its really tough for me to understand if I am missing somthing around rangesum function or anything else..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="LikeThis.JPG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/6266_LikeThis.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance, &lt;/P&gt;&lt;P&gt;Mady&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2011 09:13:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-someone-crack-this/m-p/245021#M93400</guid>
      <dc:creator />
      <dc:date>2011-08-03T09:13:25Z</dc:date>
    </item>
    <item>
      <title>Can someone crack this?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-someone-crack-this/m-p/245022#M93401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Nobody?? Just trying to understand if this is really tough or I havent explained the issue clearly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2011 11:42:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-someone-crack-this/m-p/245022#M93401</guid>
      <dc:creator />
      <dc:date>2011-08-03T11:42:45Z</dc:date>
    </item>
    <item>
      <title>Can someone crack this?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-someone-crack-this/m-p/245023#M93402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alright, after beating around the bush for sometime, I cracked it myself... there was a problem with the NULL values in the Dimensions and ingnoring them was a problem. But its fixed now. Thanks to all the experts who viewed it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, &lt;/P&gt;&lt;P&gt;Happy Qliking &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 10:39:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-someone-crack-this/m-p/245023#M93402</guid>
      <dc:creator />
      <dc:date>2011-08-04T10:39:02Z</dc:date>
    </item>
  </channel>
</rss>

