<?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: Bad format of Month saved in variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bad-format-of-Month-saved-in-variable/m-p/6090#M988</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;This depends on what data format you have in Month field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is a Text then you should use the Maxstring instead of Max function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is a numeric value you should use num(Max(Month),'00')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jan 2018 07:38:21 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2018-01-24T07:38:21Z</dc:date>
    <item>
      <title>Bad format of Month saved in variable</title>
      <link>https://community.qlik.com/t5/QlikView/Bad-format-of-Month-saved-in-variable/m-p/6089#M987</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 need help with variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have Field Month with values in format like this:&lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;01 &lt;/P&gt;&lt;P&gt;02&lt;/P&gt;&lt;P&gt;03&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have defined variable:&lt;/P&gt;&lt;P&gt;vmaxmonth=Max(Month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But result of vmaxmonth in set analysis or text object is not 03, but 3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 07:33:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bad-format-of-Month-saved-in-variable/m-p/6089#M987</guid>
      <dc:creator>janturon</dc:creator>
      <dc:date>2018-01-24T07:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Bad format of Month saved in variable</title>
      <link>https://community.qlik.com/t5/QlikView/Bad-format-of-Month-saved-in-variable/m-p/6090#M988</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;This depends on what data format you have in Month field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is a Text then you should use the Maxstring instead of Max function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is a numeric value you should use num(Max(Month),'00')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 07:38:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bad-format-of-Month-saved-in-variable/m-p/6090#M988</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2018-01-24T07:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Bad format of Month saved in variable</title>
      <link>https://community.qlik.com/t5/QlikView/Bad-format-of-Month-saved-in-variable/m-p/6091#M989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is right: num(Max(Month),'00')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where can I see format of Fields?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 07:50:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bad-format-of-Month-saved-in-variable/m-p/6091#M989</guid>
      <dc:creator>janturon</dc:creator>
      <dc:date>2018-01-24T07:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Bad format of Month saved in variable</title>
      <link>https://community.qlik.com/t5/QlikView/Bad-format-of-Month-saved-in-variable/m-p/6092#M990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Easy option is, add the filter on sheet and observe the data, if it is on left side it is text else it is number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 07:55:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bad-format-of-Month-saved-in-variable/m-p/6092#M990</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2018-01-24T07:55:51Z</dc:date>
    </item>
  </channel>
</rss>

