<?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: Variable for the fields of Month &amp; Year only in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-for-the-fields-of-Month-Year-only/m-p/1232406#M853960</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌Make a variable? what do you mean? Not sure I underatand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Feb 2017 03:45:55 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-02-21T03:45:55Z</dc:date>
    <item>
      <title>Variable for the fields of Month &amp; Year only</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-for-the-fields-of-Month-Year-only/m-p/1232401#M853955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello There&lt;/P&gt;&lt;P&gt;I have a project where the date of the data was only the month and year so I'm trying to make a variable like this&amp;nbsp;&amp;nbsp; =MonthStart(MakeDate(T_Year,T_Month,1)) but just happen is not working, Is there any way to make a variable for this month and year?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Bing&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/Variable-for-the-fields-of-Month-Year-only/m-p/1232401#M853955</guid>
      <dc:creator>bsbernabe</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Variable for the fields of Month &amp; Year only</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-for-the-fields-of-Month-Year-only/m-p/1232402#M853956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be use this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=MonthStart(MakeDate(2017, 02, 1))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Or&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MonthStart(MakeDate(Year, Month, 1))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Or&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;MonthStart(MakeDate(GetFieldSelections(Year), &lt;STRONG style="font-size: 13.3333px;"&gt;GetFieldSelections(&lt;/STRONG&gt;Month), 1))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 02:10:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-for-the-fields-of-Month-Year-only/m-p/1232402#M853956</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-02-21T02:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Variable for the fields of Month &amp; Year only</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-for-the-fields-of-Month-Year-only/m-p/1232403#M853957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where are you trying to do this? In the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should have worked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Date(MakeDate(T_Year, T_Month, 1)) as T_Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; T_Year,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; T_Month&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM ....;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if you T_Month is like Jan, Feb, Mar, then QlikView won't recognize them as Month, unless you help it recognize it as date. In this case, try this&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;LOAD Date(MakeDate(T_Year, &lt;SPAN style="color: #ff0000;"&gt;Month(Date#(&lt;/SPAN&gt;T_Month&lt;SPAN style="color: #ff0000;"&gt;, 'MMM'))&lt;/SPAN&gt;, 1)) as T_Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; T_Year,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; T_Month&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;FROM ....;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;The Date#() function will help interpret the T_Month's value of Jan, Feb , Mar as a date and Month will extract the Month/Month Number for it to be used in the MakeDate() function.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;HTH&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Best,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 03:13:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-for-the-fields-of-Month-Year-only/m-p/1232403#M853957</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-21T03:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Variable for the fields of Month &amp; Year only</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-for-the-fields-of-Month-Year-only/m-p/1232404#M853958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thank you so much for your support but i already use that and it not working but any thank you again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 03:38:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-for-the-fields-of-Month-Year-only/m-p/1232404#M853958</guid>
      <dc:creator>bsbernabe</dc:creator>
      <dc:date>2017-02-21T03:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Variable for the fields of Month &amp; Year only</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-for-the-fields-of-Month-Year-only/m-p/1232405#M853959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny&lt;/P&gt;&lt;P&gt;thank you for your time i try to reload this &lt;STRONG&gt;Date(MakeDate(T_Year, &lt;SPAN style="color: #ff0000;"&gt;Month(Date#(&lt;/SPAN&gt;T_Month&lt;SPAN style="color: #ff0000;"&gt;, 'MMM'))&lt;/SPAN&gt;, 1)) as T_Date &lt;/STRONG&gt;and its working ,if ever i make a variable is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Bing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 03:42:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-for-the-fields-of-Month-Year-only/m-p/1232405#M853959</guid>
      <dc:creator>bsbernabe</dc:creator>
      <dc:date>2017-02-21T03:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Variable for the fields of Month &amp; Year only</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-for-the-fields-of-Month-Year-only/m-p/1232406#M853960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌Make a variable? what do you mean? Not sure I underatand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 03:45:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-for-the-fields-of-Month-Year-only/m-p/1232406#M853960</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-21T03:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Variable for the fields of Month &amp; Year only</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-for-the-fields-of-Month-Year-only/m-p/1232407#M853961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Sunny your script is work it its great, so what i am trying to say in make a variables at variable overview cause i try but its not working&amp;nbsp; like this:&lt;/P&gt;&lt;P&gt;vTargetCussMonth =Date(MakeDate([T_Year], Month(Date#([T_Month], 'MMM')), 1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any way thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 05:40:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-for-the-fields-of-Month-Year-only/m-p/1232407#M853961</guid>
      <dc:creator>bsbernabe</dc:creator>
      <dc:date>2017-02-21T05:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Variable for the fields of Month &amp; Year only</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-for-the-fields-of-Month-Year-only/m-p/1232408#M853962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this need to be the Max or Min? I guess I am hoping that you are looking to store a single value in this variable? or are you going to be using this in a chart? What exactly is this variable needed for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 10:17:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-for-the-fields-of-Month-Year-only/m-p/1232408#M853962</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-21T10:17:50Z</dc:date>
    </item>
  </channel>
</rss>

