<?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 Combing two number fields into a text field. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694102#M538867</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I need to combine two number fields together.&amp;nbsp; I have two fields.&amp;nbsp; One is Year and the other is Month.&lt;/P&gt;&lt;P&gt; During the load, I want to create a new field with these two fields.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Year = 2014 Month = 08&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;The new field will have a new value something like 2014-08&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Year &amp;amp;”-“&amp;amp; Month&amp;nbsp; Does not work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Sep 2014 23:34:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-02T23:34:45Z</dc:date>
    <item>
      <title>Combing two number fields into a text field.</title>
      <link>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694102#M538867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I need to combine two number fields together.&amp;nbsp; I have two fields.&amp;nbsp; One is Year and the other is Month.&lt;/P&gt;&lt;P&gt; During the load, I want to create a new field with these two fields.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Year = 2014 Month = 08&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;The new field will have a new value something like 2014-08&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Year &amp;amp;”-“&amp;amp; Month&amp;nbsp; Does not work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 23:34:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694102#M538867</guid>
      <dc:creator />
      <dc:date>2014-09-02T23:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Combing two number fields into a text field.</title>
      <link>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694103#M538868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try single quotes...&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;Year &amp;amp;'-'&amp;amp; Month as YEAR_MONTH&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 23:36:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694103#M538868</guid>
      <dc:creator>phaneendra_kunc</dc:creator>
      <dc:date>2014-09-02T23:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Combing two number fields into a text field.</title>
      <link>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694104#M538869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;My bad, typo I did have single qoutes.&lt;/P&gt;&lt;P&gt;The result value is 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 00:03:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694104#M538869</guid>
      <dc:creator />
      <dc:date>2014-09-03T00:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Combing two number fields into a text field.</title>
      <link>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694105#M538870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that is wired... it should work. Here all you are doing is concatenating two fields with a separator.&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;Year &amp;amp;'-'&amp;amp; Month as YEAR_MONTH&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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Can you check the number format of this dimension in Document properties -- &amp;gt; Number tab&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark as "Mixed" .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that doesn't resolve post a sample QVW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 00:12:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694105#M538870</guid>
      <dc:creator>phaneendra_kunc</dc:creator>
      <dc:date>2014-09-03T00:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Combing two number fields into a text field.</title>
      <link>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694106#M538871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&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;Try like this&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;LOAD&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;Text(Year &amp;amp; '-' &amp;amp; Month) AS YearMonth&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;FROM DataSource;&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;Now use this new field as dimension wherever you required.&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;Regards,&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;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 01:46:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694106#M538871</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-09-03T01:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Combing two number fields into a text field.</title>
      <link>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694107#M538872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&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;Year &amp;amp;'-'&amp;amp; (num(Month, '00')) as Year_Month&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;or use the function:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;MonthName(Date)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;as xMonthYear,&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&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>Wed, 03 Sep 2014 04:11:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694107#M538872</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2014-09-03T04:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Combing two number fields into a text field.</title>
      <link>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694108#M538873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about&lt;/P&gt;&lt;P&gt;=Year &amp;amp; '-' &amp;amp; Month&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 06:15:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694108#M538873</guid>
      <dc:creator />
      <dc:date>2014-09-03T06:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Combing two number fields into a text field.</title>
      <link>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694109#M538874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Text(Year &amp;amp; '-' &amp;amp; Month) AS YearMonth&lt;/SPAN&gt;&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;well a verision of it.&amp;nbsp; Text(Year) &amp;amp; '-'&amp;amp; Text(Month) as YearMonthLink&lt;/SPAN&gt;&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;It came up with a SQL error on load.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 16:59:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694109#M538874</guid>
      <dc:creator />
      <dc:date>2014-09-03T16:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Combing two number fields into a text field.</title>
      <link>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694110#M538875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In order to get a real date field, try this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="_jivemacro_uid_14097652028891123 jive_text_macro jive_macro_code" jivemacro_uid="_14097652028891123"&gt;
&lt;P&gt;Date(MakeDate(Year, Month, 1), 'YYYY-MM') as MonthName&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way you can also use this field with date functions and in calculations like any other date field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 17:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694110#M538875</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-09-03T17:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Combing two number fields into a text field.</title>
      <link>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694111#M538876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you using qlik syntax in the qlik side of the script or in the sql side?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// start of qlik side&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .....,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .....&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;// end of qlik side&lt;/P&gt;&lt;P&gt;// start of sql side&lt;/P&gt;&lt;P&gt;SQL SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;from&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 17:05:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694111#M538876</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-09-03T17:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Combing two number fields into a text field.</title>
      <link>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694112#M538877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, maybe I am loading wrong.&amp;nbsp; Here how my load statement looks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CTW: &lt;/P&gt;&lt;P&gt;BUFFER &lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;stale&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;after&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 10 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;hours&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;LOAd &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * ; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Select&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;year,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;month,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;from datatable&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;How should I be loading?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 17:24:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694112#M538877</guid>
      <dc:creator />
      <dc:date>2014-09-03T17:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Combing two number fields into a text field.</title>
      <link>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694113#M538878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I have read, I have to use the sql load.&amp;nbsp; I'm using an odbc to load.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 18:17:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694113#M538878</guid>
      <dc:creator />
      <dc:date>2014-09-03T18:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Combing two number fields into a text field.</title>
      <link>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694114#M538879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I tried this, I get an error saying SQL does not regconize MakeDate as a function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 18:21:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694114#M538879</guid>
      <dc:creator />
      <dc:date>2014-09-03T18:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Combing two number fields into a text field.</title>
      <link>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694115#M538880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Massimo says you need to do the concatenate in the preceding load, something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;*,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;year &amp;amp; ' ' &amp;amp; month as YearMonth&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit; line-height: 1.5em;"&gt;Select&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;year,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;month,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;from datatable&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;If you do that though the resultant value will be a string, and will not be ideal for date comparisons, this would be better still:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;*,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;Date(MakeDate(year, month), 'YYYY-MM') as YearMonth&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;Select&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;year,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;month,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;from datatable&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;This way the resultant value will be a dual (i.e will have a numeric and text representation) and will sort correctly and be more efficient.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;You also need to ensure that you always match the case of field names.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope that helps.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 18:28:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694115#M538880</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-09-03T18:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Combing two number fields into a text field.</title>
      <link>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694116#M538882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks that works.&amp;nbsp; I now have a second issue, well kind of the same issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm loading two tables with the new field.&amp;nbsp; this will be my join between the two tables.&amp;nbsp; The first table loads fine with the new field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second table errors out saying that saying that the Year field can't be found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So only the 1st table loads with the new field.&amp;nbsp; The second table does not load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both are coming from the same database. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 21:36:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694116#M538882</guid>
      <dc:creator />
      <dc:date>2014-09-03T21:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Combing two number fields into a text field.</title>
      <link>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694117#M538884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Steve,&lt;/P&gt;&lt;P&gt;now I understand!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use it as a joint between two tables.&amp;nbsp; I can't use the document date to tie the table together.&amp;nbsp; The tables need to be tie together on the month and year that the tables are downloaded from a bank website.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 21:41:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694117#M538884</guid>
      <dc:creator />
      <dc:date>2014-09-03T21:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Combing two number fields into a text field.</title>
      <link>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694118#M538885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone for your help on my issue.&amp;nbsp; I ended up putting the code on the SQL select statement.&amp;nbsp; Both table now joins together on this new field.&lt;/P&gt;&lt;P&gt;CAST(t0.Year AS char(4)) + '-' + &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; when len(t0.month) = 1 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then '0' + CAST(t0.Month AS char(2))&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;else CAST(t0.Month AS char(2))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end as Yr_mth_link &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 17:54:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combing-two-number-fields-into-a-text-field/m-p/694118#M538885</guid>
      <dc:creator />
      <dc:date>2014-09-04T17:54:35Z</dc:date>
    </item>
  </channel>
</rss>

