<?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 Alternative State Problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alternative-State-Problem/m-p/469506#M1154781</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;Today I've faced a problem on ALTERNATIVE STATE. I've dimensions viz Region, SaleOffice, SalesGroup, Distributor, Market, RetailerCategory, RetailerClass, SalesMan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've used the following expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({[Group1]&amp;lt;Year={$(=Max(Year))},DATE={'&amp;gt;=$(vStartDate)&amp;lt;=$(vEndDate)'},Month=,Quarter=,HalfYearFin=,Day=,[Region]=$::[Region],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Sales Group]=$::[Sales Group],[Sales Office]=$::[Sales Office],[Customer]=$::[Customer],[Customer Town]=$::[Customer Town]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,SalesManDFSName=$::SalesManDFSName,RouteMKTName=$::RouteMKTName,RetailerName=$::RetailerName&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;gt;} SaleValue)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Outcome of the&amp;nbsp; above expression is 16000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I use &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Count({&amp;lt;Year={$(=Max(Year))},DATE={'&amp;gt;=$(vStartDate)&amp;lt;=$(vEndDate)'},Month=,Quarter=,HalfYearFin=,Day= &amp;gt;} SaleValue)&lt;/STRONG&gt;&lt;/SPAN&gt; , it results 21000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any mistake? Please help me to get rid of this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advanced.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Mar 2013 11:49:53 GMT</pubDate>
    <dc:creator>senpradip007</dc:creator>
    <dc:date>2013-03-22T11:49:53Z</dc:date>
    <item>
      <title>Alternative State Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-State-Problem/m-p/469506#M1154781</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;Today I've faced a problem on ALTERNATIVE STATE. I've dimensions viz Region, SaleOffice, SalesGroup, Distributor, Market, RetailerCategory, RetailerClass, SalesMan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've used the following expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({[Group1]&amp;lt;Year={$(=Max(Year))},DATE={'&amp;gt;=$(vStartDate)&amp;lt;=$(vEndDate)'},Month=,Quarter=,HalfYearFin=,Day=,[Region]=$::[Region],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Sales Group]=$::[Sales Group],[Sales Office]=$::[Sales Office],[Customer]=$::[Customer],[Customer Town]=$::[Customer Town]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,SalesManDFSName=$::SalesManDFSName,RouteMKTName=$::RouteMKTName,RetailerName=$::RetailerName&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;gt;} SaleValue)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Outcome of the&amp;nbsp; above expression is 16000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I use &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Count({&amp;lt;Year={$(=Max(Year))},DATE={'&amp;gt;=$(vStartDate)&amp;lt;=$(vEndDate)'},Month=,Quarter=,HalfYearFin=,Day= &amp;gt;} SaleValue)&lt;/STRONG&gt;&lt;/SPAN&gt; , it results 21000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any mistake? Please help me to get rid of this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advanced.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 11:49:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-State-Problem/m-p/469506#M1154781</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2013-03-22T11:49:53Z</dc:date>
    </item>
  </channel>
</rss>

