<?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 How to handle variable with string in format 2015/01 ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-handle-variable-with-string-in-format-2015-01/m-p/755060#M268924</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have an issue with variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a string in which i'm using month formatted like that "yyyy/mm"&amp;nbsp; for example 2014/12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use this set analysis : =sum({&amp;lt;MY_STR_MONTH={$(=maxString(MY_STR_MONTH))}&amp;gt;} value) &lt;/P&gt;&lt;P&gt;to get the sum only for the max month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it doesn't work because the $(=MaxString(MY_STR_MONTH)) convert this and the result is&amp;nbsp; 167,8333&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do to use the max of a string field in which there is a "/" in a set analysis ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Jan 2015 08:24:25 GMT</pubDate>
    <dc:creator>fredericvillemi</dc:creator>
    <dc:date>2015-01-23T08:24:25Z</dc:date>
    <item>
      <title>How to handle variable with string in format 2015/01 ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-handle-variable-with-string-in-format-2015-01/m-p/755060#M268924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have an issue with variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a string in which i'm using month formatted like that "yyyy/mm"&amp;nbsp; for example 2014/12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use this set analysis : =sum({&amp;lt;MY_STR_MONTH={$(=maxString(MY_STR_MONTH))}&amp;gt;} value) &lt;/P&gt;&lt;P&gt;to get the sum only for the max month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it doesn't work because the $(=MaxString(MY_STR_MONTH)) convert this and the result is&amp;nbsp; 167,8333&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do to use the max of a string field in which there is a "/" in a set analysis ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 08:24:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-handle-variable-with-string-in-format-2015-01/m-p/755060#M268924</guid>
      <dc:creator>fredericvillemi</dc:creator>
      <dc:date>2015-01-23T08:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle variable with string in format 2015/01 ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-handle-variable-with-string-in-format-2015-01/m-p/755061#M268925</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;use Date(MY_STR_MONTH,'YYYY/MM')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 08:26:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-handle-variable-with-string-in-format-2015-01/m-p/755061#M268925</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-01-23T08:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle variable with string in format 2015/01 ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-handle-variable-with-string-in-format-2015-01/m-p/755062#M268926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;During loading of your data add another field formatted as YYYYMM and use this for your expressions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 08:27:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-handle-variable-with-string-in-format-2015-01/m-p/755062#M268926</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-01-23T08:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle variable with string in format 2015/01 ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-handle-variable-with-string-in-format-2015-01/m-p/755063#M268927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh sorry i have found the good answer in another thread. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({&amp;lt;MY_STR_MONTH={&lt;STRONG&gt;'&lt;/STRONG&gt;$(=MaxString(MY_STR_MONTH))&lt;STRONG&gt;'&lt;/STRONG&gt;}&amp;gt;} VALUE)&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;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I think it's the best answer because i don't have to convert in Date nor to change my loader.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But yes, both other answers were interesting.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 08:37:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-handle-variable-with-string-in-format-2015-01/m-p/755063#M268927</guid>
      <dc:creator>fredericvillemi</dc:creator>
      <dc:date>2015-01-23T08:37:42Z</dc:date>
    </item>
  </channel>
</rss>

