<?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: Year To Month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Year-To-Month/m-p/1346422#M837485</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your post. Actually do not have any day field in my requirement.&lt;/P&gt;&lt;P&gt;anyways can you share the app which you have worked out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 May 2017 05:57:57 GMT</pubDate>
    <dc:creator>nihhalmca</dc:creator>
    <dc:date>2017-05-16T05:57:57Z</dc:date>
    <item>
      <title>Year To Month</title>
      <link>https://community.qlik.com/t5/QlikView/Year-To-Month/m-p/1346414#M837477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to show data by YTD (YTM) - no date selection (not required).&lt;/P&gt;&lt;P&gt;- Date filed is YearMonth (like 201705).&lt;/P&gt;&lt;P&gt;- Derived Year and Month from YearMonth field.&lt;/P&gt;&lt;P&gt;For instance :&lt;/P&gt;&lt;P&gt;Selections: Year = 2017 (2015,2016,2017) and Month = May (Jan....Dec), whenever i select (YTD) button report should display Year to Month data like 201701, 201702, 201703,201704,201705&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nihhal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-To-Month/m-p/1346414#M837477</guid>
      <dc:creator>nihhalmca</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Year To Month</title>
      <link>https://community.qlik.com/t5/QlikView/Year-To-Month/m-p/1346415#M837478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look: &lt;A href="https://community.qlik.com/docs/DOC-9162"&gt;Set Analysis for certain Point in Time&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2017 12:57:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-To-Month/m-p/1346415#M837478</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-15T12:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Year To Month</title>
      <link>https://community.qlik.com/t5/QlikView/Year-To-Month/m-p/1346416#M837479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Try this one&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vCurrent_Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Year={"$(=GetFieldSelections(Year))"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vYTD_Date:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date={"&amp;lt;=$(=$(vSelected_Date))"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exp:&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Month,$(=vCurrent_Year),$(=vYTD_Date)&lt;/P&gt;&lt;P&gt;&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2017 13:14:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-To-Month/m-p/1346416#M837479</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-15T13:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Year To Month</title>
      <link>https://community.qlik.com/t5/QlikView/Year-To-Month/m-p/1346417#M837480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;vSelected_Date:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(MakeDate(GetFieldSelections(Year),GetFieldSelections(Month),if(IsNull(GetFieldSelections(Day)),max({&amp;lt;Month={'$(=GetFieldSelections(Month))'}&amp;gt;}Day),GetFieldSelections(Day))),'YYYY/MM/DD')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2017 13:15:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-To-Month/m-p/1346417#M837480</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-15T13:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Year To Month</title>
      <link>https://community.qlik.com/t5/QlikView/Year-To-Month/m-p/1346418#M837481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Variable 1: Num(Year(yearstart(Today())))&amp;amp;num(month(YearStart(Today())),'00')&lt;/P&gt;&lt;P&gt;Variable 2: Num(Year(yearstart(Today())))&amp;amp;num(month(Today()),'00')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;YearMonth={"&amp;gt;=$(Variable1)&amp;lt;=&lt;SPAN style="font-size: 13.3333px;"&gt;$(Variable2)"&lt;/SPAN&gt;}&amp;gt;} sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2017 13:47:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-To-Month/m-p/1346418#M837481</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2017-05-15T13:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Year To Month</title>
      <link>https://community.qlik.com/t5/QlikView/Year-To-Month/m-p/1346419#M837482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sivaraj - Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just i have given one year (2017) as example, actual scenario they are couple of years,&lt;/P&gt;&lt;P&gt;I think i have to created 2 more variables like vSelectedYear and vSelectedMonth.&lt;/P&gt;&lt;P&gt;am i right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2017 13:58:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-To-Month/m-p/1346419#M837482</guid>
      <dc:creator>nihhalmca</dc:creator>
      <dc:date>2017-05-15T13:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Year To Month</title>
      <link>https://community.qlik.com/t5/QlikView/Year-To-Month/m-p/1346420#M837483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Follow following steps:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Create variable e.g:- &lt;SPAN style="color: #ff00ff;"&gt;vConvertDate&lt;/SPAN&gt;, in definition, let it be empty&lt;/P&gt;&lt;P&gt;2) create button, in action tab, click on add, then select 'Set Variable'. In variable box input '&lt;SPAN style="color: #ff00ff; font-size: 13.3333px;"&gt;vConvertDate&lt;/SPAN&gt;' and in value input '&lt;SPAN style="color: #0000ff;"&gt;CD&lt;/SPAN&gt;' then finish/ok.&lt;/P&gt;&lt;P&gt;3) either create the desired format in script or in calculated dimension if you want, like ''Year(DateField)&amp;amp;Month(&lt;SPAN style="color: #ff9900;"&gt;DateField&lt;/SPAN&gt;)''.&lt;/P&gt;&lt;P&gt;4)tick the enable condition and write the following condition "if(&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #ff00ff;"&gt;vConvertDate&lt;/SPAN&gt;='&lt;SPAN style="color: #0000ff;"&gt;CD&lt;/SPAN&gt;',1,&lt;SPAN style="color: #ff6600;"&gt;DateField&lt;/SPAN&gt;)"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Hope this will solve you problem. If not let us know, and if possible show some sample data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2017 14:06:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-To-Month/m-p/1346420#M837483</guid>
      <dc:creator />
      <dc:date>2017-05-15T14:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Year To Month</title>
      <link>https://community.qlik.com/t5/QlikView/Year-To-Month/m-p/1346421#M837484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try which i post , it will work &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as i tried in my app already, hence it is working &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2017 14:39:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-To-Month/m-p/1346421#M837484</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-15T14:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Year To Month</title>
      <link>https://community.qlik.com/t5/QlikView/Year-To-Month/m-p/1346422#M837485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your post. Actually do not have any day field in my requirement.&lt;/P&gt;&lt;P&gt;anyways can you share the app which you have worked out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 05:57:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-To-Month/m-p/1346422#M837485</guid>
      <dc:creator>nihhalmca</dc:creator>
      <dc:date>2017-05-16T05:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Year To Month</title>
      <link>https://community.qlik.com/t5/QlikView/Year-To-Month/m-p/1346423#M837486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just try to change the month in the app so that chart will visible as per you requirement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as per your requirement we supposed to maintain day field because it will give you all days in a month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example : if you select 2016, feb that means the should populate from jan 1 st to feb 28th , that's why i kept Day field &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's not a big deal to create a day field by using date right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 07:32:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-To-Month/m-p/1346423#M837486</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-16T07:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Year To Month</title>
      <link>https://community.qlik.com/t5/QlikView/Year-To-Month/m-p/1346424#M837487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are doing the month level analysis itself like Year to Month.&lt;/P&gt;&lt;P&gt;Moreover data model did not have date field (client do not want as well)&lt;/P&gt;&lt;P&gt;I hope you can understand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 07:47:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-To-Month/m-p/1346424#M837487</guid>
      <dc:creator>nihhalmca</dc:creator>
      <dc:date>2017-05-16T07:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Year To Month</title>
      <link>https://community.qlik.com/t5/QlikView/Year-To-Month/m-p/1346425#M837488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you send sample app, so that it can be easy to resolve the issue &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 07:53:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-To-Month/m-p/1346425#M837488</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-16T07:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Year To Month</title>
      <link>https://community.qlik.com/t5/QlikView/Year-To-Month/m-p/1346426#M837489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried below expressions even i did not get expected results&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex1: Sum({&amp;lt;Year=,Month=, YearMonth = {"&amp;gt;=$(vStartYTD)&amp;lt;=$(vEndYTD)"}&amp;gt;} Revenue)&lt;/P&gt;&lt;P&gt;Ex2: Sum({&amp;lt;Year=,Month=, YearMonth = {"&amp;gt;=$(=vStartYTD)&amp;lt;=$(=vEndYTD)"}&amp;gt;} Revenue)&lt;/P&gt;&lt;P&gt;Ex3: Sum({&amp;lt;Year=,Month=, YearMonth = {"&amp;gt;=$("vStartYTD")&amp;lt;=$("vEndYTD")"}&amp;gt;} Revenue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vStartYTD = GetFieldSelections(Year)&amp;amp;num(month(YearStart(Today())),'00')&lt;/P&gt;&lt;P&gt;vEndYTD = GetFieldSelections(Year)&amp;amp;num(Month,'00')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 14:10:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-To-Month/m-p/1346426#M837489</guid>
      <dc:creator>nihhalmca</dc:creator>
      <dc:date>2017-05-16T14:10:42Z</dc:date>
    </item>
  </channel>
</rss>

