<?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: set analysis help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-help/m-p/1559883#M744113</link>
    <description>&lt;P&gt;Hi Rlhardin,&lt;/P&gt;&lt;P&gt;Try this this both, since i am not clear with the exact requirement. Not sure why you have '#' you can remove it if required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.The first expression will consider Jan &amp;amp; Feb in nominator (if you select Feb) and all months in denominator.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;sum ( {$&amp;lt;[Ops Year] = {$(#=Only(_YYYY))}, [Ops Month] = {"&amp;lt;=$(#=Only(_MM))"},[Division]={'A','B','C','D','E','F','G'}&amp;gt;} [Bookings]/1000000)&lt;BR /&gt;/&lt;BR /&gt;sum ( {$&amp;lt;[Ops Year] = {$(#=Only(_YYYY))},[Division]={'A','B','C','D','E','F','G'}&amp;gt;} [Revenue-Actual]/1000000)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2.This expression will consider the current month you selected in nominator (Feb for example) and Jan &amp;amp;Feb in denominator.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sum ( {$&amp;lt;[Ops Year] = {$(#=Only(_YYYY))}, [Ops Month] = {"$(#=Only(_MM))"},[Division]={'A','B','C','D','E','F','G'}&amp;gt;} [Bookings]/1000000)&lt;BR /&gt;/&lt;BR /&gt;sum ( {$&amp;lt;[Ops Year] = {$(#=Only(_YYYY))},[Ops Month] = {"&amp;lt;=$(#=Only(_MM))"},[Division]={'A','B','C','D','E','F','G'}&amp;gt;} [Revenue-Actual]/1000000)&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Mar 2019 05:17:24 GMT</pubDate>
    <dc:creator>jyothish8807</dc:creator>
    <dc:date>2019-03-22T05:17:24Z</dc:date>
    <item>
      <title>set analysis help</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-help/m-p/1559838#M744111</link>
      <description>&lt;P&gt;Good Afternoon;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I hope this is the right forum, I inherited a dashboard i am trying to understand, its source comes from a spreadsheet.&lt;/P&gt;&lt;P&gt;sum ( {$&amp;lt;[Ops Year] = {$(#=Only(_YYYY))}, [Ops Month] = {"&amp;lt;=$(#=Only(_MM))"},[Division]={'A','B','C','D','E','F','G'}&amp;gt;} [Bookings]/1000000)&lt;BR /&gt;/&lt;BR /&gt;sum ( {$&amp;lt;[Ops Year] = {$(#=Only(_YYYY))}, [Ops Month] = {"&amp;lt;=$(#=Only(_MM))"},[Division]={'A','B','C','D','E','F','G'}&amp;gt;} [Revenue-Actual]/1000000)&lt;/P&gt;&lt;P&gt;Th calculation works however what i need to change is that instead of the values from one month i need the sum of all months[Ops Months].&amp;nbsp; This would only be for the denominator.&amp;nbsp;&lt;/P&gt;&lt;P&gt;the number for January I am getting is .19 which is correct as it is only one month, however for February i need the number to roll both January and February numbers in revenue.&lt;/P&gt;&lt;P&gt;Based on the selection of the [Ops month] is should calculate the revenue amount for everything less than or equal to for that selection for the divisions stated, any ideas?&amp;nbsp; I have attached a sample of the source data for the calculation&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-help/m-p/1559838#M744111</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis help</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-help/m-p/1559880#M744112</link>
      <description>&lt;P&gt;Hi Rlhardin,&lt;/P&gt;&lt;P&gt;Try this this both, since i am not clear with the exact requirement. Not sure why you have '#' you can remove it if required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//The first expression will consider Jan &amp;amp; Feb in nominator (if you select Feb) and all months in denominator.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;sum ( {$&amp;lt;[Ops Year] = {$(#=Only(_YYYY))}, [Ops Month] = {"&amp;lt;=$(#=Only(_MM))"},[Division]={'A','B','C','D','E','F','G'}&amp;gt;} [Bookings]/1000000)&lt;BR /&gt;/&lt;BR /&gt;sum ( {$&amp;lt;[Ops Year] = {$(#=Only(_YYYY))},[Division]={'A','B','C','D','E','F','G'}&amp;gt;} [Revenue-Actual]/1000000)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;//This expression will consider the current month you selected in nominator (Feb for example) and Jan &amp;amp;Feb in denominator.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sum ( {$&amp;lt;[Ops Year] = {$(#=Only(_YYYY))}, [Ops Month] = {"$(#=Only(_MM))"},[Division]={'A','B','C','D','E','F','G'}&amp;gt;} [Bookings]/1000000)&lt;BR /&gt;/&lt;BR /&gt;sum ( {$&amp;lt;[Ops Year] = {$(#=Only(_YYYY))},[Ops Month] = {"&amp;lt;=$(#=Only(_MM))"},[Division]={'A','B','C','D','E','F','G'}&amp;gt;} [Revenue-Actual]/1000000)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 05:11:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-help/m-p/1559880#M744112</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2019-03-22T05:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis help</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-help/m-p/1559883#M744113</link>
      <description>&lt;P&gt;Hi Rlhardin,&lt;/P&gt;&lt;P&gt;Try this this both, since i am not clear with the exact requirement. Not sure why you have '#' you can remove it if required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.The first expression will consider Jan &amp;amp; Feb in nominator (if you select Feb) and all months in denominator.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;sum ( {$&amp;lt;[Ops Year] = {$(#=Only(_YYYY))}, [Ops Month] = {"&amp;lt;=$(#=Only(_MM))"},[Division]={'A','B','C','D','E','F','G'}&amp;gt;} [Bookings]/1000000)&lt;BR /&gt;/&lt;BR /&gt;sum ( {$&amp;lt;[Ops Year] = {$(#=Only(_YYYY))},[Division]={'A','B','C','D','E','F','G'}&amp;gt;} [Revenue-Actual]/1000000)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2.This expression will consider the current month you selected in nominator (Feb for example) and Jan &amp;amp;Feb in denominator.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sum ( {$&amp;lt;[Ops Year] = {$(#=Only(_YYYY))}, [Ops Month] = {"$(#=Only(_MM))"},[Division]={'A','B','C','D','E','F','G'}&amp;gt;} [Bookings]/1000000)&lt;BR /&gt;/&lt;BR /&gt;sum ( {$&amp;lt;[Ops Year] = {$(#=Only(_YYYY))},[Ops Month] = {"&amp;lt;=$(#=Only(_MM))"},[Division]={'A','B','C','D','E','F','G'}&amp;gt;} [Revenue-Actual]/1000000)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 05:17:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-help/m-p/1559883#M744113</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2019-03-22T05:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis help</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-help/m-p/1560186#M744114</link>
      <description>&lt;P&gt;Hi KC;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; thank you for the response. Here is a bit more detail.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So for January bookings is divided by January revenue&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;then&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for February bookings is divided by the sum of January + February revenue&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;January works fine, in getting the .19 number however my calculation below for February is showing .58 when it should be .31&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this is due to for February I am not getting the sum total in revenue, i am just getting February.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I attached a screen shot of what I am trying to accomplish.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 15:24:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-help/m-p/1560186#M744114</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-22T15:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis help</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-help/m-p/1560523#M744115</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;In that case, this should work.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sum ( {$&amp;lt;[Ops Year] = {$(#=Only(_YYYY))}, [Ops Month] = {"$(#=Only(_MM))"},[Division]={'A','B','C','D','E','F','G'}&amp;gt;} [Bookings]/1000000)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sum ( {$&amp;lt;[Ops Year] = {$(#=Only(_YYYY))},[Ops Month] = {"&amp;lt;=$(#=Only(_MM))"},[Division]={'A','B','C','D','E','F','G'}&amp;gt;} [Revenue-Actual]/1000000)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2019 06:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-help/m-p/1560523#M744115</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2019-03-25T06:40:49Z</dc:date>
    </item>
  </channel>
</rss>

