<?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: Alternative state in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alternative-state/m-p/1036387#M464257</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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=Sum({&amp;lt;Annee={"&amp;gt;=$(=Max(Annee))"},QA1={'&amp;lt;&amp;gt;NSP'}, &lt;STRONG&gt;State&lt;/STRONG&gt;&amp;gt;}QA1)/Count({&amp;lt;Annee={"&amp;gt;=$(=Max(Annee))"},QA1={'&amp;lt;&amp;gt;NSP'}, &lt;STRONG&gt;State&lt;/STRONG&gt;&amp;gt;}QA1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If this doesn't work, would you be able to provide a sample?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Apr 2016 10:23:53 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-04-28T10:23:53Z</dc:date>
    <item>
      <title>Alternative state</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-state/m-p/1036386#M464256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table which is in State A:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Question&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Test&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Cumulative 2016&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;QA1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;25.5%&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;32.0%&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;45%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have current selection of Month and Make for this state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I want that the cummulative 2016 to bypass the state and cummulate the results of this current year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the expression below for the cummulative but the result is wrong:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Annee={"&amp;gt;=$(=Max(Annee))"},QA1={'&amp;lt;&amp;gt;NSP'}&amp;gt;}QA1)/Count({&amp;lt;Annee={"&amp;gt;=$(=Max(Annee))"},QA1={'&amp;lt;&amp;gt;NSP'}&amp;gt;}QA1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hasvine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 08:22:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-state/m-p/1036386#M464256</guid>
      <dc:creator />
      <dc:date>2016-04-28T08:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative state</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-state/m-p/1036387#M464257</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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=Sum({&amp;lt;Annee={"&amp;gt;=$(=Max(Annee))"},QA1={'&amp;lt;&amp;gt;NSP'}, &lt;STRONG&gt;State&lt;/STRONG&gt;&amp;gt;}QA1)/Count({&amp;lt;Annee={"&amp;gt;=$(=Max(Annee))"},QA1={'&amp;lt;&amp;gt;NSP'}, &lt;STRONG&gt;State&lt;/STRONG&gt;&amp;gt;}QA1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If this doesn't work, would you be able to provide a sample?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 10:23:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-state/m-p/1036387#M464257</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-28T10:23:53Z</dc:date>
    </item>
  </channel>
</rss>

