<?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: If statement for Month selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946280#M981752</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try loading inline table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Aug 2015 11:01:15 GMT</pubDate>
    <dc:creator>gautik92</dc:creator>
    <dc:date>2015-08-18T11:01:15Z</dc:date>
    <item>
      <title>If statement for Month selection</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946279#M981751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I wanted to use If statement for Month selection&amp;nbsp; in expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently My calculation is working as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;FiscalMonth=&amp;gt;}[Net Bookings])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=AGGR(IF(Rank(sum([Net Bookings]), 4)&amp;lt;=5, [End Customer Global Ultimate Name]),[End Customer Global Ultimate Name]) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I click on Month then values gets associated from Fiscal Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month,Fiscal Month&lt;/P&gt;&lt;P&gt;Oct,3&lt;/P&gt;&lt;P&gt;Nov,4&lt;/P&gt;&lt;P&gt;Feb,7&lt;/P&gt;&lt;P&gt;Mar,8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I want to Apply if condition so that If I will select the Month May then it should pick up the 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May,3&lt;/P&gt;&lt;P&gt;Jun,4 and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want this dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help me out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;KK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 10:57:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946279#M981751</guid>
      <dc:creator>Karim_Khan</dc:creator>
      <dc:date>2015-08-18T10:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: If statement for Month selection</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946280#M981752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try loading inline table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 11:01:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946280#M981752</guid>
      <dc:creator>gautik92</dc:creator>
      <dc:date>2015-08-18T11:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: If statement for Month selection</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946281#M981753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use mapping inline table together with applymap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEST:&lt;/P&gt;&lt;P&gt;mapping load * Inline [&lt;/P&gt;&lt;P&gt;Month, Seq&lt;/P&gt;&lt;P&gt;May, 3&lt;/P&gt;&lt;P&gt;June, 4&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt; abc,&lt;/P&gt;&lt;P&gt;applymap('TEST',yourmonth) as SeqNr&lt;/P&gt;&lt;P&gt; def,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;resident ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 11:14:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946281#M981753</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-18T11:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: If statement for Month selection</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946282#M981754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the expression&lt;/P&gt;&lt;P&gt;FiscalMonth={"$(=date(addmonths(date#(Month,'MMM'),-2),'MMM'))"}&lt;/P&gt;&lt;P&gt;ex:date(addmonths(date#('May','MMM'),-2),'MMM')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 11:30:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946282#M981754</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-08-18T11:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: If statement for Month selection</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946283#M981755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please attach the sample file. It would be easier to provide the solution. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 11:49:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946283#M981755</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-08-18T11:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: If statement for Month selection</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946284#M981756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But Sir will it work for dynamic month&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 11:57:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946284#M981756</guid>
      <dc:creator>Karim_Khan</dc:creator>
      <dc:date>2015-08-18T11:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: If statement for Month selection</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946285#M981757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes it should work if your fiscal month is always 2 months behind the actual month value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 12:02:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946285#M981757</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-08-18T12:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: If statement for Month selection</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946286#M981758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is working.But If&amp;nbsp; I wanted to apply this login in Fiscal Month then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has the Numeric Value&lt;/P&gt;&lt;P&gt;1,2,3,4,....12.&lt;/P&gt;&lt;P&gt;Its code is as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mod(Month(Date) - $(vFiscalYearStartMonth), 12)+1 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to apply the above logic to this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 12:11:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946286#M981758</guid>
      <dc:creator>Karim_Khan</dc:creator>
      <dc:date>2015-08-18T12:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: If statement for Month selection</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946287#M981759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Hi Karim,&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="font-weight: inherit; font-style: inherit;"&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;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Try :&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="font-weight: inherit; font-style: inherit;"&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;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Pick(Match(MONTH,'May','Jun','Jul',........), 3,4,5,........)&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;/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;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Neetha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 12:20:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946287#M981759</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-18T12:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: If statement for Month selection</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946288#M981760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what are the values in $(vFiscalYearStartMonth) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 12:28:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946288#M981760</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-08-18T12:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: If statement for Month selection</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946289#M981761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;8&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 12:30:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946289#M981761</guid>
      <dc:creator>Karim_Khan</dc:creator>
      <dc:date>2015-08-18T12:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: If statement for Month selection</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946290#M981762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=num(month(date(addmonths(num(Month(Date)) ,- 2),'MMM')))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 12:38:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946290#M981762</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-08-18T12:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: If statement for Month selection</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946291#M981763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sir value is not getting changed while selecting the month.&lt;/P&gt;&lt;P&gt;Its got fixed to one specific number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like 11&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 12:44:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946291#M981763</guid>
      <dc:creator>Karim_Khan</dc:creator>
      <dc:date>2015-08-18T12:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: If statement for Month selection</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946292#M981764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please try&lt;/P&gt;&lt;P&gt;num(month(date(addmonths(date#(Date,'MMM'),-2),'MMM')))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 12:51:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946292#M981764</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-08-18T12:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: If statement for Month selection</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946293#M981765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to put the Fiscal Month but it is not getting calculated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(month(date(addmonths(date#(FiscalMonth,'MMM'),-2),'MMM')))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 12:59:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946293#M981765</guid>
      <dc:creator>Karim_Khan</dc:creator>
      <dc:date>2015-08-18T12:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: If statement for Month selection</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946294#M981766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;sorry I am not following what you want to try here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the expression num(month(date(addmonths(date#(Date,'MMM'),-2),'MMM')))&lt;/P&gt;&lt;P&gt;should give you fiscalmonth for a selected date in the number format 1,2,3, 4 etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to subtract 2 month from the fiscal month then the following should work&lt;/P&gt;&lt;P&gt;=num(month(date(addmonths(date#(FiscalMonth,'MM'),-2),'MMM')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hth&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 13:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-for-Month-selection/m-p/946294#M981766</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-08-18T13:05:37Z</dc:date>
    </item>
  </channel>
</rss>

