<?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 Load date from excel and do cross join in qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-date-from-excel-and-do-cross-join-in-qlikview/m-p/962589#M330229</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 attached the sample data excel file and an image.&lt;/P&gt;&lt;P&gt;I want to load that excel file into qlikview and do crossjoin to load the date (Month) values as rows instead of columns.&lt;/P&gt;&lt;P&gt;When i try to load the excel file into QlikView, the date values shows like as attached in the image file.&lt;/P&gt;&lt;P&gt;How to load the date values properly into qlikview and do cross join in the script?&lt;/P&gt;&lt;P&gt;P.S : The dates will be getting added every month when new data appears.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Oct 2015 12:03:43 GMT</pubDate>
    <dc:creator>udaya_kumar</dc:creator>
    <dc:date>2015-10-26T12:03:43Z</dc:date>
    <item>
      <title>Load date from excel and do cross join in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Load-date-from-excel-and-do-cross-join-in-qlikview/m-p/962589#M330229</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 attached the sample data excel file and an image.&lt;/P&gt;&lt;P&gt;I want to load that excel file into qlikview and do crossjoin to load the date (Month) values as rows instead of columns.&lt;/P&gt;&lt;P&gt;When i try to load the excel file into QlikView, the date values shows like as attached in the image file.&lt;/P&gt;&lt;P&gt;How to load the date values properly into qlikview and do cross join in the script?&lt;/P&gt;&lt;P&gt;P.S : The dates will be getting added every month when new data appears.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 12:03:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-date-from-excel-and-do-cross-join-in-qlikview/m-p/962589#M330229</guid>
      <dc:creator>udaya_kumar</dc:creator>
      <dc:date>2015-10-26T12:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Load date from excel and do cross join in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Load-date-from-excel-and-do-cross-join-in-qlikview/m-p/962590#M330230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MyTable:&lt;/P&gt;&lt;P&gt;CrossTable(Date,Value,3)&lt;/P&gt;&lt;P&gt;LOAD * FROM&lt;/P&gt;&lt;P&gt;[Data.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Date field contains numbers, which is what dates really are. You can format these values in charts and expressions using the Date() function: Date(Date, 'DD/MM/YYYY') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to do it in the script then you need an additional load:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD ID, Name, Department, &lt;SPAN style="font-size: 13.3333px;"&gt;Date(Date, 'DD/MM/YYYY')&amp;nbsp; as Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Resident MyTable;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table MyTable;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 12:31:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-date-from-excel-and-do-cross-join-in-qlikview/m-p/962590#M330230</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-10-26T12:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Load date from excel and do cross join in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Load-date-from-excel-and-do-cross-join-in-qlikview/m-p/962591#M330231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;T:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;CrossTable(Month, Data, 3)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; *&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Data.xlsx&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(ooxml, embedded labels, table is Sheet1);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;F:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NoConcatenate LOAD &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ID, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Department,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(trim(Month),'MMM-YY') as Month,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident T;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP Table T;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/103061_1.png" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 12:37:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-date-from-excel-and-do-cross-join-in-qlikview/m-p/962591#M330231</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-10-26T12:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Load date from excel and do cross join in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Load-date-from-excel-and-do-cross-join-in-qlikview/m-p/962592#M330232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you reply.&lt;/P&gt;&lt;P&gt;I tried the above code, but converting date to date format is not working.&lt;/P&gt;&lt;P&gt;It is showing null (0 rows) for date field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 12:41:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-date-from-excel-and-do-cross-join-in-qlikview/m-p/962592#M330232</guid>
      <dc:creator>udaya_kumar</dc:creator>
      <dc:date>2015-10-26T12:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Load date from excel and do cross join in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Load-date-from-excel-and-do-cross-join-in-qlikview/m-p/962593#M330233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, possible the values are converted to text by the crosstable function. In which case you need to convert them to numbers first:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD ID, Name, Department, Date(&lt;STRONG&gt;num#(Date)&lt;/STRONG&gt;, 'DD/MM/YYYY')&amp;nbsp; as Date&lt;/P&gt;&lt;P&gt;Resident MyTable;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 12:45:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-date-from-excel-and-do-cross-join-in-qlikview/m-p/962593#M330233</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-10-26T12:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Load date from excel and do cross join in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Load-date-from-excel-and-do-cross-join-in-qlikview/m-p/962594#M330234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maxgro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;It is working fine, but i have even quarter values in the date field like the attached image.&lt;/P&gt;&lt;P&gt;Please check it and help me.&lt;IMG alt="Data_Table.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/103062_Data_Table.PNG" style="height: 119px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 12:45:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-date-from-excel-and-do-cross-join-in-qlikview/m-p/962594#M330234</guid>
      <dc:creator>udaya_kumar</dc:creator>
      <dc:date>2015-10-26T12:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Load date from excel and do cross join in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Load-date-from-excel-and-do-cross-join-in-qlikview/m-p/962595#M330235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can use something similar to check for Quarter or Month &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;F:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NoConcatenate LOAD &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ID, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Department,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Date(Month, 'MMM-YY') as Month,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(left(Month,1)='Q', Month) as Quarter,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(left(Month,1)&amp;lt;&amp;gt;'Q', date(trim(Month),'MMM-YY')) as Month,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident T;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 12:52:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-date-from-excel-and-do-cross-join-in-qlikview/m-p/962595#M330235</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-10-26T12:52:02Z</dc:date>
    </item>
  </channel>
</rss>

