<?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: Each Year Month Sales in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Each-Year-Month-Sales/m-p/864141#M302441</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;AYear={$(vYear)},Months={$(vMonth)},Day={$(vDay)} &amp;gt;}[sales])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here if you want by pass values means you put Day=&amp;nbsp; means no effect of day selection in this set analysis&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;AYear={$(vYear)},Months={$(vMonth)},Day= } &amp;gt;}[sales])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vimlesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Apr 2015 07:07:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-07T07:07:54Z</dc:date>
    <item>
      <title>Each Year Month Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Each-Year-Month-Sales/m-p/864137#M302437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement. where end user wants to see the each year last month( Max_Month)&amp;nbsp; sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if no selection on months than,&lt;/P&gt;&lt;P&gt;2010- DEC sales&lt;/P&gt;&lt;P&gt;2011- DEC sales&lt;/P&gt;&lt;P&gt;2012- DEC Sales&lt;/P&gt;&lt;P&gt;2013- DEC sales&lt;/P&gt;&lt;P&gt;2014- DEC sales&lt;/P&gt;&lt;P&gt;2015- APR Sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if he makes any selection on month filters than that month sales need to see in all the years.&lt;/P&gt;&lt;P&gt;And i need to take year as dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so please any suggestions on above requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mukram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 06:25:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Each-Year-Month-Sales/m-p/864137#M302437</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2015-04-07T06:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Each Year Month Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Each-Year-Month-Sales/m-p/864138#M302438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;FinYear={'2015'}&amp;gt;} sales)&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;FinYear={'2014'}&amp;gt;} sales)&lt;/P&gt;&lt;P&gt;when you will select any month it will give month results.else it will give whole year sales value.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vimlesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 06:36:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Each-Year-Month-Sales/m-p/864138#M302438</guid>
      <dc:creator />
      <dc:date>2015-04-07T06:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Each Year Month Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Each-Year-Month-Sales/m-p/864139#M302439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Gupta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need Max Month Sales for each Year without any selection.( default )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 06:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Each-Year-Month-Sales/m-p/864139#M302439</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2015-04-07T06:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Each Year Month Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Each-Year-Month-Sales/m-p/864140#M302440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;pass your month in this set analysis through variable or by hard coded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;FinYear={'2015'}, month={'Apr'}&amp;gt;} sales)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;sum({&amp;lt;FinYear={'2015'}, month={=$(vmaxmonth)}&amp;gt;} sales)&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vimlesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 07:04:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Each-Year-Month-Sales/m-p/864140#M302440</guid>
      <dc:creator />
      <dc:date>2015-04-07T07:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Each Year Month Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Each-Year-Month-Sales/m-p/864141#M302441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;AYear={$(vYear)},Months={$(vMonth)},Day={$(vDay)} &amp;gt;}[sales])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here if you want by pass values means you put Day=&amp;nbsp; means no effect of day selection in this set analysis&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;AYear={$(vYear)},Months={$(vMonth)},Day= } &amp;gt;}[sales])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vimlesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 07:07:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Each-Year-Month-Sales/m-p/864141#M302441</guid>
      <dc:creator />
      <dc:date>2015-04-07T07:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Each Year Month Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Each-Year-Month-Sales/m-p/864142#M302442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Mohammed!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all, we could add flag FinalMonth in our Calendar table, to use it in set analysis to select last months.&lt;/P&gt;&lt;P&gt;expr1: sum({$&amp;lt;FinalMonth={1}&amp;gt;}sales)&lt;/P&gt;&lt;P&gt;Then we could add variable "vMonth": =if(GetSelectedCount(Месяц)&amp;gt;0, false(),true())&lt;/P&gt;&lt;P&gt;Finally you can write expression:&lt;/P&gt;&lt;P&gt;if(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;vMonth, $(expr1), sum({$&amp;lt;Month={$(=max(Month))}&amp;gt;} sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sergey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 07:09:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Each-Year-Month-Sales/m-p/864142#M302442</guid>
      <dc:creator>pokassov</dc:creator>
      <dc:date>2015-04-07T07:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Each Year Month Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Each-Year-Month-Sales/m-p/864143#M302443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohamad,&lt;/P&gt;&lt;P&gt;Yes We can do that,&lt;/P&gt;&lt;P&gt;use below expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if (getselected count(plant)=0,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt; Dept={'Sales'} , Plant={'Total'} Value}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333330154419px;"&gt;Sum({&amp;lt; Dept={'Sales'} ,&amp;nbsp; Value}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;)))&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 07:14:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Each-Year-Month-Sales/m-p/864143#M302443</guid>
      <dc:creator>nagarjuna_kotha</dc:creator>
      <dc:date>2015-04-07T07:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Each Year Month Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Each-Year-Month-Sales/m-p/864144#M302444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i did something like this.&lt;/P&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;Created a FLAG in the Back End.&lt;/P&gt;&lt;P&gt;if(MONTH=MAX_MONTH,1,0) AS FLAG.&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;Created a Variable.&lt;/P&gt;&lt;P&gt;vMonth=if(GetSelectedCount(MONTH)&amp;gt;0, 0,1)&lt;/P&gt;&lt;P&gt;3)&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(vMonth=1, (Sum({&amp;lt;FLAG={'1'}&amp;gt;}BUDGET)+Sum({&amp;lt;FLAG={'1'}&amp;gt;}INCOME)), &lt;/P&gt;&lt;P&gt;(sum({$&amp;lt;MONTH={$(=max(MONTH))}&amp;gt;} BUDGET)+sum({$&amp;lt;MONTH={$(=max(MONTH))}&amp;gt;} INCOME)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mukram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 07:18:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Each-Year-Month-Sales/m-p/864144#M302444</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2015-04-13T07:18:47Z</dc:date>
    </item>
  </channel>
</rss>

