<?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: how to combine two fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-combine-two-fields/m-p/450461#M168097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Invoices:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;INVDATE as DATE,InvoiceValue from ...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;outer join&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ORDDATE as DATE,OrderValue from ...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;or&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;U can have seperate tables&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Invoices:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;INVDATE as DATE,InvoiceValue from ...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Orders:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ORDDATE as DATE,OrderValue from....&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Dec 2012 08:22:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-19T08:22:57Z</dc:date>
    <item>
      <title>how to combine two fields</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-combine-two-fields/m-p/450456#M168092</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 a table called "Invocies" in which I have 2 fields, one is INVOICE DATE and another is&amp;nbsp; ORDER DATE.&amp;nbsp; I want to combined the dates and have one field called DATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the&amp;nbsp; part of the scripting I've done to combine the dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Invoices:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;INVDATE as DATE,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ORDDATE as DATE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I get the following error - "Filed names must be unique with table"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where am i going wrong in my scripting.&amp;nbsp; Please can you help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 07:43:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-combine-two-fields/m-p/450456#M168092</guid>
      <dc:creator />
      <dc:date>2012-12-19T07:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to combine two fields</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-combine-two-fields/m-p/450457#M168093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't give two fields the same name. That would make it impossible to know from which field the value should be extracted. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Putting INVDATE and ORDDATE in one field doesn't make sense to me since they are very different things. But if you feel you must you then you need to do something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Invoices:&lt;/P&gt;&lt;P&gt;LOAD *, INVDATE as DATE from ....etc;&lt;/P&gt;&lt;P&gt;LOAD *, ORDDATE as DATE from .... etc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will cause every invoice record to occur twice in the invoices table; once with INVDATE as DATE and once with ORDDATE as DATE. This sounds like a bad idea. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should probably read &lt;A _jive_internal="true" href="https://community.qlik.com/message/284656#284656"&gt;this&lt;/A&gt; discussion about using common date dimensions and shared calendars.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 07:55:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-combine-two-fields/m-p/450457#M168093</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-12-19T07:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to combine two fields</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-combine-two-fields/m-p/450458#M168094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Invoices:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;INVDATE as DATE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;outer join&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ORDDATE as DATE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 08:01:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-combine-two-fields/m-p/450458#M168094</guid>
      <dc:creator />
      <dc:date>2012-12-19T08:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to combine two fields</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-combine-two-fields/m-p/450459#M168095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If u simply need to comine two date fields u can also go with concatente.&amp;nbsp; Otherwise try wat Gysbert has suggested......it shud work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 08:05:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-combine-two-fields/m-p/450459#M168095</guid>
      <dc:creator />
      <dc:date>2012-12-19T08:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to combine two fields</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-combine-two-fields/m-p/450460#M168096</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;Thank you.&amp;nbsp; What im trying to achieve in the front end , i want to see the value of invoices or orders per day in one table, by selecting only one date, in this case its DATE (see table below)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will it be easier to do it on the front end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="323"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="98"&gt;DATE&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="87"&gt;Order Value&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="138"&gt;Invoiced Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: medium none;"&gt;20121031&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-left: medium none; border-top: medium none;"&gt;200,000&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-left: medium none; border-top: medium none;"&gt;150,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: medium none;"&gt;20121030&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-left: medium none; border-top: medium none;"&gt;500,000&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-left: medium none; border-top: medium none;"&gt;600,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: medium none;"&gt;20121029&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-left: medium none; border-top: medium none;"&gt;3,300,000&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-left: medium none; border-top: medium none;"&gt;4,000,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: medium none;"&gt;20121027&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-left: medium none; border-top: medium none;"&gt;50,000&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-left: medium none; border-top: medium none;"&gt;80,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: medium none;"&gt;20121026&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-left: medium none; border-top: medium none;"&gt;90,000&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-left: medium none; border-top: medium none;"&gt;100,000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 08:05:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-combine-two-fields/m-p/450460#M168096</guid>
      <dc:creator />
      <dc:date>2012-12-19T08:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to combine two fields</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-combine-two-fields/m-p/450461#M168097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Invoices:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;INVDATE as DATE,InvoiceValue from ...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;outer join&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ORDDATE as DATE,OrderValue from ...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;or&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;U can have seperate tables&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Invoices:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;INVDATE as DATE,InvoiceValue from ...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Orders:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ORDDATE as DATE,OrderValue from....&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 08:22:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-combine-two-fields/m-p/450461#M168097</guid>
      <dc:creator />
      <dc:date>2012-12-19T08:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to combine two fields</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-combine-two-fields/m-p/450462#M168098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought this discussion &lt;A _jive_internal="true" href="https://community.qlik.com/message/290246"&gt;looked familiar&lt;/A&gt;. Did you follow Miguels advice? You should be all set to go then. Your combined&amp;nbsp; table with orders and invoices will already have a DATE field, as well as the OrderDate and InvoiceDate fields. If you haven't followed his advice yet, do so now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 08:28:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-combine-two-fields/m-p/450462#M168098</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-12-19T08:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to combine two fields</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-combine-two-fields/m-p/450463#M168099</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 wil try it.&amp;nbsp; Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 08:32:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-combine-two-fields/m-p/450463#M168099</guid>
      <dc:creator />
      <dc:date>2012-12-19T08:32:55Z</dc:date>
    </item>
  </channel>
</rss>

