<?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: Help required in VARIABLE which contains the dates. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-required-in-VARIABLE-which-contains-the-dates/m-p/813193#M286902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the change is only addition of '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'SALES_FIN_M.' to your input, then above solution still works,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Else can you explain your requirement again?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Mar 2015 09:21:30 GMT</pubDate>
    <dc:creator>anbu1984</dc:creator>
    <dc:date>2015-03-03T09:21:30Z</dc:date>
    <item>
      <title>Help required in VARIABLE which contains the dates.</title>
      <link>https://community.qlik.com/t5/QlikView/Help-required-in-VARIABLE-which-contains-the-dates/m-p/813190#M286899</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;I have a variable called zDates which contains the dates. May I know how we can count the no of dates in the variable(zDates)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;zDates=('2015_01','2015_02') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt; In the above variable we have 2 dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have another variable which also contains the dates. Since the above variable contains&amp;nbsp; 2 dates I need to remove 2 dates from the starting(Which is '2014_01' and '2014_02') of the below variable. If the&amp;nbsp; above variable contains 3 dates then it should remove 3 dates and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;zNewDates=('2014_01','2014_02','2014_03','2014_04','2014_05','2014_06','2014_07','2014_08','2014_09','2014_10','2014_11','2014_12')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;zNewDates=('2014_03','2014_04','2014_05','2014_06','2014_07','2014_08','2014_09','2014_10','2014_11','2014_12')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me out for the same please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 12:38:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-required-in-VARIABLE-which-contains-the-dates/m-p/813190#M286899</guid>
      <dc:creator>qlikviewforum</dc:creator>
      <dc:date>2015-03-02T12:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Help required in VARIABLE which contains the dates.</title>
      <link>https://community.qlik.com/t5/QlikView/Help-required-in-VARIABLE-which-contains-the-dates/m-p/813191#M286900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SET zDates="('2015_01','2015_02')";&lt;/P&gt;&lt;P&gt;Set zNewDates="('2014_01','2014_02','2014_03','2014_04','2014_05','2014_06','2014_07','2014_08','2014_09','2014_10','2014_11','2014_12')";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vNoOfDates = SubStringCount('$(zDates)',',')+1;&lt;/P&gt;&lt;P&gt;Let vCommaPos = Index('$(zNewDates)',',',$(vNoOfDates));&lt;/P&gt;&lt;P&gt;Let zFinalStr = '(' &amp;amp; Right('$(zNewDates)',Len('$(zNewDates)')-$(vCommaPos));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 13:07:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-required-in-VARIABLE-which-contains-the-dates/m-p/813191#M286900</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-03-02T13:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help required in VARIABLE which contains the dates.</title>
      <link>https://community.qlik.com/t5/QlikView/Help-required-in-VARIABLE-which-contains-the-dates/m-p/813192#M286901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry! Requirement got changed. The output of the variable is something like the below one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;zDates='SALES_FIN_M.2015_01','SALES_FIN_M.2015_02';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; zNewDates='SALES_FIN_M.2014_01','SALES_FIN_M.2014_02','SALES_FIN_M.2014_03','SALES_FIN_M.2014_04','SALES_FIN_M.2014_05','SALES_FIN_M.2014_06','SALES_FIN_M.2014_07','SALES_FIN_M.2014_08','SALES_FIN_M.2014_09','SALES_FIN_M.2014_10','SALES_FIN_M.2014_11','SALES_FIN_M.2014_12';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me out with the code when the Variable output is something like above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 09:14:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-required-in-VARIABLE-which-contains-the-dates/m-p/813192#M286901</guid>
      <dc:creator>qlikviewforum</dc:creator>
      <dc:date>2015-03-03T09:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help required in VARIABLE which contains the dates.</title>
      <link>https://community.qlik.com/t5/QlikView/Help-required-in-VARIABLE-which-contains-the-dates/m-p/813193#M286902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the change is only addition of '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'SALES_FIN_M.' to your input, then above solution still works,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Else can you explain your requirement again?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 09:21:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-required-in-VARIABLE-which-contains-the-dates/m-p/813193#M286902</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-03-03T09:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help required in VARIABLE which contains the dates.</title>
      <link>https://community.qlik.com/t5/QlikView/Help-required-in-VARIABLE-which-contains-the-dates/m-p/813194#M286903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure will let you know if it doesn't work out. By the way how we can remove ')' from &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;zNewDates? Please help in the meantime.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 09:49:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-required-in-VARIABLE-which-contains-the-dates/m-p/813194#M286903</guid>
      <dc:creator>qlikviewforum</dc:creator>
      <dc:date>2015-03-03T09:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help required in VARIABLE which contains the dates.</title>
      <link>https://community.qlik.com/t5/QlikView/Help-required-in-VARIABLE-which-contains-the-dates/m-p/813195#M286904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Purgechar('$(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;zNewDates)',')'&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 09:56:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-required-in-VARIABLE-which-contains-the-dates/m-p/813195#M286904</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-03-03T09:56:37Z</dc:date>
    </item>
  </channel>
</rss>

