<?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: Prefix code to calendar days in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826116#M290923</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ram, figured it out. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Dec 2014 05:42:42 GMT</pubDate>
    <dc:creator>tamilarasu</dc:creator>
    <dc:date>2014-12-15T05:42:42Z</dc:date>
    <item>
      <title>Prefix code to calendar days</title>
      <link>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826112#M290919</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 created a 3 years calendar table by using load script and total of 1096 days. Now, I want to add 20 country codes to each date. I am not sure how to achieve this as I am new to Qlikview. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Ex: &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; &lt;IMG alt="SS.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/73460_SS.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Likewise I need to prefix the 20 country code to all 1096 days. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 04:38:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826112#M290919</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2014-12-15T04:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Prefix code to calendar days</title>
      <link>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826113#M290920</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Country:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;CountryCode&lt;/P&gt;&lt;P&gt;FROM Country;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;FROM Calendar;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will become cartesian product or cross join between the two tables, since there is no common column in both the tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 05:29:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826113#M290920</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-12-15T05:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Prefix code to calendar days</title>
      <link>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826114#M290921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;after Jagan's code you can derive the new column Final Data by concatenating using another load statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 05:34:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826114#M290921</guid>
      <dc:creator />
      <dc:date>2014-12-15T05:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Prefix code to calendar days</title>
      <link>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826115#M290922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great. Thank you Jagan. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 05:41:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826115#M290922</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2014-12-15T05:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Prefix code to calendar days</title>
      <link>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826116#M290923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ram, figured it out. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 05:42:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826116#M290923</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2014-12-15T05:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Prefix code to calendar days</title>
      <link>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826117#M290924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got a problem. After adding the country, I just tried to concatenate country with the date but my system getting hanged.&amp;nbsp; When I tried to add SalesOrgDate as dimension the problem occurred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attached file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 07:17:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826117#M290924</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2014-12-15T07:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Prefix code to calendar days</title>
      <link>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826118#M290925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am able to add &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SalesOrgDate as dimension. &lt;/SPAN&gt;Check this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 07:30:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826118#M290925</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-12-15T07:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Prefix code to calendar days</title>
      <link>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826119#M290926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to concatenate all country code to single date like wise 1096 date entries. I followed jagan solution but there is no common column, so for single date entry I got 27400 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the system getting hanged due to large concatenation. Please refer above attachment sent by Anbu chelian.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Data.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/73471_Data.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Any idea!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 09:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826119#M290926</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2014-12-15T09:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Prefix code to calendar days</title>
      <link>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826120#M290927</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;Did you check the Calendar table, how many rows in that table?&amp;nbsp; If you have 1096 then for each country you will get 1096 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this sample script;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;INLINE [&lt;/P&gt;&lt;P&gt;Country&lt;/P&gt;&lt;P&gt;India&lt;/P&gt;&lt;P&gt;USA&lt;/P&gt;&lt;P&gt;UK];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;INLINE [&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;1/1/2014&lt;/P&gt;&lt;P&gt;1/2/2014&lt;/P&gt;&lt;P&gt;1/3/2014];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After executing this I am getting exactly 9 rows, 3 countries * 3 dates = 9&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 09:13:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826120#M290927</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-12-15T09:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Prefix code to calendar days</title>
      <link>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826121#M290928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I have 1096 rows. I have no issues while adding country column but have issue while concatenating the date with country .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer below screenshot and try to add SalesOrgDate to dimension field. Hope you understand my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/73485_Screenshot.png" style="height: 299px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 09:24:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826121#M290928</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2014-12-15T09:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Prefix code to calendar days</title>
      <link>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826122#M290929</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;Try this script&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;Temp:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&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;INLINE [&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Country&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;India&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;USA&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;UK];&lt;/P&gt;&lt;P&gt;&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;JOIN&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&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;INLINE [&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1/1/2014&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1/2/2014&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1/3/2014];&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;Data:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&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="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Country &amp;amp; Date AS Key&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RESIDENT Temp;&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;DROP TABLE Temp;&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 this helps you.&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;Regards,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 09:27:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826122#M290929</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-12-15T09:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Prefix code to calendar days</title>
      <link>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826123#M290930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Final_Calendar:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Country,FKDAT,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Country &amp;amp;''&amp;amp; FKDAT as SalesOrgDate&lt;/P&gt;&lt;P&gt;&amp;nbsp; Resident Country;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 09:29:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826123#M290930</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-12-15T09:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Prefix code to calendar days</title>
      <link>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826124#M290931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan. Working fine now. Thank you.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 09:35:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826124#M290931</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2014-12-15T09:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Prefix code to calendar days</title>
      <link>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826125#M290932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 09:38:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prefix-code-to-calendar-days/m-p/826125#M290932</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2014-12-15T09:38:22Z</dc:date>
    </item>
  </channel>
</rss>

