<?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 develop complex excel calculation into qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-develop-complex-excel-calculation-into-qlikview/m-p/415448#M154506</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lax,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To calculate the factors, you can use expressions as follows (as you need to reference them in table D, then perhaps variables are the best option to store the expression results) ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Factor0 =&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; num(count({&amp;lt;[LAG quarter]={0,1},[Date declaratopn from now]-={0}&amp;gt;} [Claim Date])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /count({&amp;lt;[LAG quarter]={0}, [Date declaratopn from now]-={0}&amp;gt;} [Claim Date]),'0%')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Factor1=&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; num(count({&amp;lt;[LAG quarter]={0,1,2},[Date declaratopn from now]-={0,1}&amp;gt;} [Claim Date])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /count({&amp;lt;[LAG quarter]={0,1}, [Date declaratopn from now]-={0,1}&amp;gt;} [Claim Date]),'0%')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Factor2=&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; num(count({&amp;lt;[LAG quarter]={0,1,2,3},[Date declaratopn from now]-={0,1,2}&amp;gt;} [Claim Date])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /count({&amp;lt;[LAG quarter]={0,1,2}, [Date declaratopn from now]-={0,1,2}&amp;gt;} [Claim Date]),'0%')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;... and so on, building up the values accordingly.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can build a table of these variables by using ValueLoop(0,7) which will create a synthetic dimension. Using a straight table chart, use &lt;STRONG&gt;ValueLoop(0,7)&lt;/STRONG&gt; as your dimension, and &lt;STRONG&gt;pick(ValueLoop(0,7)+1,Factor0,Factor1,Factor2 ...) &lt;/STRONG&gt;as your expression.&amp;nbsp; If you set the table to display horizontally and hide the totals and dimension columns, you are close to your excel sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table D is a bit more trickier, looks like you need some if..then..else logic in there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Jun 2013 12:41:23 GMT</pubDate>
    <dc:creator>flipside</dc:creator>
    <dc:date>2013-06-03T12:41:23Z</dc:date>
    <item>
      <title>How to develop complex excel calculation into qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-develop-complex-excel-calculation-into-qlikview/m-p/415446#M154504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Am having an excel data with some complex calculation, want to develop those into qlikview, but couldn't figure out how to do it. &lt;/P&gt;&lt;P&gt;In the attached excel, I upload into qlikview the 'DATA' sheet and try to build reports as per 'Triangles' sheet. From the 'Triangles' sheet am able to build the A and B report. But am not able to make C and D report. Please assist in building these report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. C report is calculated based on B - you can see the formula in excel. This , I couldn't do.&lt;/P&gt;&lt;P&gt;2. D report is same as B, except the grayed cells in D which are calculated based on value from C report and values from D report- you can see the formula in excel. This also seems to be difficult.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;Lax &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 13:54:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-develop-complex-excel-calculation-into-qlikview/m-p/415446#M154504</guid>
      <dc:creator />
      <dc:date>2013-05-28T13:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop complex excel calculation into qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-develop-complex-excel-calculation-into-qlikview/m-p/415447#M154505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Is the problem complex to understand or complex to achieve in qlikview ? is there any workaround for this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Lax&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 11:55:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-develop-complex-excel-calculation-into-qlikview/m-p/415447#M154505</guid>
      <dc:creator />
      <dc:date>2013-06-03T11:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop complex excel calculation into qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-develop-complex-excel-calculation-into-qlikview/m-p/415448#M154506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lax,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To calculate the factors, you can use expressions as follows (as you need to reference them in table D, then perhaps variables are the best option to store the expression results) ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Factor0 =&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; num(count({&amp;lt;[LAG quarter]={0,1},[Date declaratopn from now]-={0}&amp;gt;} [Claim Date])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /count({&amp;lt;[LAG quarter]={0}, [Date declaratopn from now]-={0}&amp;gt;} [Claim Date]),'0%')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Factor1=&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; num(count({&amp;lt;[LAG quarter]={0,1,2},[Date declaratopn from now]-={0,1}&amp;gt;} [Claim Date])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /count({&amp;lt;[LAG quarter]={0,1}, [Date declaratopn from now]-={0,1}&amp;gt;} [Claim Date]),'0%')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Factor2=&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; num(count({&amp;lt;[LAG quarter]={0,1,2,3},[Date declaratopn from now]-={0,1,2}&amp;gt;} [Claim Date])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /count({&amp;lt;[LAG quarter]={0,1,2}, [Date declaratopn from now]-={0,1,2}&amp;gt;} [Claim Date]),'0%')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;... and so on, building up the values accordingly.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can build a table of these variables by using ValueLoop(0,7) which will create a synthetic dimension. Using a straight table chart, use &lt;STRONG&gt;ValueLoop(0,7)&lt;/STRONG&gt; as your dimension, and &lt;STRONG&gt;pick(ValueLoop(0,7)+1,Factor0,Factor1,Factor2 ...) &lt;/STRONG&gt;as your expression.&amp;nbsp; If you set the table to display horizontally and hide the totals and dimension columns, you are close to your excel sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table D is a bit more trickier, looks like you need some if..then..else logic in there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 12:41:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-develop-complex-excel-calculation-into-qlikview/m-p/415448#M154506</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2013-06-03T12:41:23Z</dc:date>
    </item>
  </channel>
</rss>

