<?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 YTD values in straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/YTD-values-in-straight-table/m-p/1190711#M882859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement in my project where I have to divide the ytd values for 2 different KPI , PFB the explanation :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)I have a KPI whose monthly values are like : Jan 100 , Feb 200 , March 300&lt;/P&gt;&lt;P&gt;2)I have another KPI whose monthly values are like : Jan 10 , Feb 20 , March 30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if I take sum of these individual KPIs the calculation is like :&lt;/P&gt;&lt;P&gt;(100+200+300)/(10+20+30) =10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I need it like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;100/10 + 200/20 + 300/30 = 30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried taking average of denominator but that scenario is not working and data is not matching upto 2 decimal places .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help in resolving this issue ?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;sum({&amp;lt;{&amp;lt;month_num1={"&amp;gt;=$(vMonth1)&amp;lt;=$(vMonth)"}&amp;gt;}Sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;sum({&amp;lt;month_num1={"&amp;gt;=$(vMonth1)&amp;lt;=$(vMonth)"}&amp;gt;} Volume))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vmonth1 =1 .&lt;/P&gt;&lt;P&gt;vMonth = month number for current month .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>YTD values in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-values-in-straight-table/m-p/1190711#M882859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement in my project where I have to divide the ytd values for 2 different KPI , PFB the explanation :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)I have a KPI whose monthly values are like : Jan 100 , Feb 200 , March 300&lt;/P&gt;&lt;P&gt;2)I have another KPI whose monthly values are like : Jan 10 , Feb 20 , March 30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if I take sum of these individual KPIs the calculation is like :&lt;/P&gt;&lt;P&gt;(100+200+300)/(10+20+30) =10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I need it like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;100/10 + 200/20 + 300/30 = 30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried taking average of denominator but that scenario is not working and data is not matching upto 2 decimal places .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help in resolving this issue ?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;sum({&amp;lt;{&amp;lt;month_num1={"&amp;gt;=$(vMonth1)&amp;lt;=$(vMonth)"}&amp;gt;}Sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;sum({&amp;lt;month_num1={"&amp;gt;=$(vMonth1)&amp;lt;=$(vMonth)"}&amp;gt;} Volume))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vmonth1 =1 .&lt;/P&gt;&lt;P&gt;vMonth = month number for current month .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-values-in-straight-table/m-p/1190711#M882859</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: YTD values in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-values-in-straight-table/m-p/1190712#M882860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the Aggr function. Please see attached qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 17:52:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-values-in-straight-table/m-p/1190712#M882860</guid>
      <dc:creator>albertovarela</dc:creator>
      <dc:date>2016-09-22T17:52:54Z</dc:date>
    </item>
  </channel>
</rss>

