<?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: Merge/consolidate two date fields into one in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Merge-consolidate-two-date-fields-into-one/m-p/701602#M538720</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there was an error in my previous post&lt;/P&gt;&lt;P&gt;you should rename the different source date fields with the same name (datenew in below script) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;final:&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load date1 as &lt;STRONG&gt;datenew&lt;/STRONG&gt;, value from yourtable where len(trim(date1))&amp;gt;0;&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;concatenate (final) load &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.63636302948px; font-family: inherit;"&gt;date2 as &lt;STRONG&gt;datenew&lt;/STRONG&gt;, value from yourtable &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.63636302948px; font-family: inherit;"&gt;where len(trim(date2))&amp;gt;0&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Sep 2014 15:31:27 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2014-09-03T15:31:27Z</dc:date>
    <item>
      <title>Merge/consolidate two date fields into one</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-consolidate-two-date-fields-into-one/m-p/701599#M538717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;how can i merge two date fields of one table into one date field. &lt;/P&gt;&lt;P&gt;In Business Objects this is called "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;merge dimensions".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/65820_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read following questions but no one helped me &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/120594"&gt;how to merge dimensions from different sources in qlikview&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/290246"&gt;Re: Merging dates from different columns&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help welcome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 14:32:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-consolidate-two-date-fields-into-one/m-p/701599#M538717</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-03T14:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Merge/consolidate two date fields into one</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-consolidate-two-date-fields-into-one/m-p/701600#M538718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in a script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;final:&lt;/P&gt;&lt;P&gt;load date1 as datenew, value from yourtable where len(trim(date1))&amp;gt;0;&lt;/P&gt;&lt;P&gt;concatenate (final) load &lt;SPAN style="font-size: 13.63636302948px;"&gt;date2 as date, value from yourtable &lt;SPAN style="font-size: 13.63636302948px;"&gt;where len(trim(date2))&amp;gt;0&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 14:39:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-consolidate-two-date-fields-into-one/m-p/701600#M538718</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-09-03T14:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Merge/consolidate two date fields into one</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-consolidate-two-date-fields-into-one/m-p/701601#M538719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Massimo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your fast reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as i am using SQL i tried it as following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;final:&lt;/P&gt;&lt;P&gt;load *, YEAR1 as datenew;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;SQL &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Select ...&lt;/P&gt;&lt;P&gt;concatenate (final) load *, YEAR2 as date;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;SQL &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Select ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then i get 2 new fields "datenew" and "date", were every one stands just for one date. But i need one common date field. Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 15:19:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-consolidate-two-date-fields-into-one/m-p/701601#M538719</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-03T15:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Merge/consolidate two date fields into one</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-consolidate-two-date-fields-into-one/m-p/701602#M538720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there was an error in my previous post&lt;/P&gt;&lt;P&gt;you should rename the different source date fields with the same name (datenew in below script) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;final:&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load date1 as &lt;STRONG&gt;datenew&lt;/STRONG&gt;, value from yourtable where len(trim(date1))&amp;gt;0;&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;concatenate (final) load &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.63636302948px; font-family: inherit;"&gt;date2 as &lt;STRONG&gt;datenew&lt;/STRONG&gt;, value from yourtable &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.63636302948px; font-family: inherit;"&gt;where len(trim(date2))&amp;gt;0&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 15:31:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-consolidate-two-date-fields-into-one/m-p/701602#M538720</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-09-03T15:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Merge/consolidate two date fields into one</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-consolidate-two-date-fields-into-one/m-p/701603#M538721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or as per attached qvw :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is its load script :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Temp :&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;LOAD * INLINE [&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year1, Year2, Value&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2011, , 392&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2012, , 7164&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2013, , 7481&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014, , 75&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014, 2012, 2&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2011, 2012, 1&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2012, 2011, 2&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; , 2014, 0&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014, 2013, 9&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; , 2013, 0&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2013, 2014, 22&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014, 2014, 48&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; , 2011, 0&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; , 2012, 0&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2013, 2012, 89&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2011, 2011, 128&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2012, 2013, 127&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2012, 2012, 4246&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2013, 2013, 4816&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;NoConcatenate&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Data :&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Load&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp; Year1 as Year ,&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp; Value&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;resident Temp &lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;;&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Concatenate (Data)&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Load&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp; Year2 as Year ,&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp; Value&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;;&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;drop table Temp ;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 15:34:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-consolidate-two-date-fields-into-one/m-p/701603#M538721</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-03T15:34:32Z</dc:date>
    </item>
  </channel>
</rss>

