<?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 consider  running three months where numerator should be current month and denominator should pick the 3 months previous values in a bar chart? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-consider-running-three-months-where-numerator-should-be/m-p/112180#M17438</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will not give me the desired output since am already restricting the dimension for only 3 months when we give Above( Sum(B), 3) this will not find any value which is 3 rows above of it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jul 2018 14:24:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-07-09T14:24:24Z</dc:date>
    <item>
      <title>How to consider  running three months where numerator should be current month and denominator should pick the 3 months previous values in a bar chart?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-consider-running-three-months-where-numerator-should-be/m-p/112176#M17434</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 need to create a bar chart where I need to show the running 3 months as my dimension and in the expression I should consider below logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= Sum ( A) &lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sum ( {&amp;lt;Monthname = &lt;SPAN style="font-size: 13.3333px;"&gt;{"$(=MonthName(AddMonths(Monthname,-3)))"} &lt;/SPAN&gt;} B) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;-&amp;gt; =if(Num(Monthname) &amp;gt;= '$(=vRunning3Mon)' and Num(Monthname) &amp;lt; '$(=vRunning3Mon_Max)' ,Monthname)&amp;nbsp; this is my expression for the Dimension which gives the previous 3 months bars.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;-&amp;gt; When I use &lt;SPAN style="font-size: 13.3333px;"&gt;Monthname = &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;{"$(=MonthName(AddMonths(Monthname,-3)))"} in my denominator my expression does not get evaluated.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I have also attached a screenshot of desired output&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;- 1st chart is without any logic i.e., numerator and denominator considers same month. this can be achieved.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;- 2nd Chart is with the logic, Numerator will have month from the dimension and my denominator should consider the value 3 months previous to it. Facing issue with this requirement.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please help me out here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="bar.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/207023_bar.PNG" style="height: 394px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 07:54:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-consider-running-three-months-where-numerator-should-be/m-p/112176#M17434</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-05T07:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to consider  running three months where numerator should be current month and denominator should pick the 3 months previous values in a bar chart?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-consider-running-three-months-where-numerator-should-be/m-p/112177#M17435</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;you have MonthName in dimension,&lt;/P&gt;&lt;P&gt;then the expression sum on MonthName - 3 so you find 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add sum(total ....&lt;/P&gt;&lt;P&gt;in your expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 08:49:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-consider-running-three-months-where-numerator-should-be/m-p/112177#M17435</guid>
      <dc:creator>ogautier62</dc:creator>
      <dc:date>2018-07-05T08:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to consider  running three months where numerator should be current month and denominator should pick the 3 months previous values in a bar chart?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-consider-running-three-months-where-numerator-should-be/m-p/112178#M17436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Olivier,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Add sum(total ....&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;in your expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;even this doesn't work.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 10:07:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-consider-running-three-months-where-numerator-should-be/m-p/112178#M17436</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-05T10:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to consider  running three months where numerator should be current month and denominator should pick the 3 months previous values in a bar chart?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-consider-running-three-months-where-numerator-should-be/m-p/112179#M17437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(A)/Above(Sum(B), 3)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jul 2018 21:02:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-consider-running-three-months-where-numerator-should-be/m-p/112179#M17437</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-08T21:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to consider  running three months where numerator should be current month and denominator should pick the 3 months previous values in a bar chart?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-consider-running-three-months-where-numerator-should-be/m-p/112180#M17438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will not give me the desired output since am already restricting the dimension for only 3 months when we give Above( Sum(B), 3) this will not find any value which is 3 rows above of it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2018 14:24:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-consider-running-three-months-where-numerator-should-be/m-p/112180#M17438</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-09T14:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to consider  running three months where numerator should be current month and denominator should pick the 3 months previous values in a bar chart?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-consider-running-three-months-where-numerator-should-be/m-p/112181#M17439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not? I am not sure what you mean when you say you are restricting the dimension for only 3 months? You are using calculated dimension? If you are... then i suggest not to use that and instead use set analysis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2018 14:27:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-consider-running-three-months-where-numerator-should-be/m-p/112181#M17439</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-09T14:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to consider  running three months where numerator should be current month and denominator should pick the 3 months previous values in a bar chart?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-consider-running-three-months-where-numerator-should-be/m-p/112182#M17440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes am using a calculated dimension to get previous 3 months.&lt;/P&gt;&lt;P&gt;I tried this on set analysis, but am having 2 conditions on month itself so I used a calculated dimension and in my set analysis I want to incorporate the logic where for a month the denominator should pick a value which is 3 months back and numerator will have the same month. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex : if the bar is in may then my exprn should look like &lt;/P&gt;&lt;P&gt;: = Sum( &amp;lt;May&amp;gt; A) / Sum( &amp;lt;Feb&amp;gt; B) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need help in achieving this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2018 05:39:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-consider-running-three-months-where-numerator-should-be/m-p/112182#M17440</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-11T05:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to consider  running three months where numerator should be current month and denominator should pick the 3 months previous values in a bar chart?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-consider-running-three-months-where-numerator-should-be/m-p/112183#M17441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to provide a sample or sample data in an Excel format and based on the sample provided... give us the exact output you are hoping to get?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2018 10:35:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-consider-running-three-months-where-numerator-should-be/m-p/112183#M17441</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-11T10:35:38Z</dc:date>
    </item>
  </channel>
</rss>

