<?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: Mapping a Date field with multiple values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Mapping-a-Date-field-with-multiple-values/m-p/1230220#M392061</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;Sorry, You must concatenate the fields considering the ID and Date1, so when you do de load you must add:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Concatenate&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;BridgeTable:&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;Distinct Autonumber(Date1) as ID&lt;/SPAN&gt;, // or whatever_you_do_to_get_the_ID as ID&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date1 as %Date&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;resident your_Table;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;// from your_Table;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Regars.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jan 2017 12:34:42 GMT</pubDate>
    <dc:creator>enriquem</dc:creator>
    <dc:date>2017-01-11T12:34:42Z</dc:date>
    <item>
      <title>Mapping a Date field with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-a-Date-field-with-multiple-values/m-p/1230217#M392058</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;This is the current scenario in my datamodel.&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/149105_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;Bridge Table is the product of mapping Date2 &amp;amp; Date3 into 1 field %Date.&lt;/P&gt;&lt;P&gt;How do I also include Date1 into the field %Date in the BridgeTable with Type=1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand Mapping load similar to what was done for Date2 &amp;amp; Date3 should work.&lt;/P&gt;&lt;P&gt;However, Every ID in Table 2 has single value for Date2 &amp;amp; Date3 which is not the case in Table1.&lt;/P&gt;&lt;P&gt;Date1 has multiple values for each ID in Table1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Suggestions on this?&lt;/P&gt;&lt;P&gt;Attached below is a sample qvw.&lt;/P&gt;&lt;P&gt;Kindly let me know if more details are needed in understanding this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 11:27:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-a-Date-field-with-multiple-values/m-p/1230217#M392058</guid>
      <dc:creator>divya_anand</dc:creator>
      <dc:date>2017-01-11T11:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping a Date field with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-a-Date-field-with-multiple-values/m-p/1230218#M392059</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;To include Date1 into %Date you must load your data from Date1 and concatenate to the table BridgeTable and put here the Dates registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;BridgeTable:&lt;/P&gt;&lt;P&gt;Load Date1 as %Date&lt;/P&gt;&lt;P&gt;resident your_Table;&lt;SPAN style="font-size: 10pt;"&gt;// from your_Table;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember, that it's important do it inmediatly that you build your BridgeTable, or the concantenate wouldn't be necesary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 11:32:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-a-Date-field-with-multiple-values/m-p/1230218#M392059</guid>
      <dc:creator>enriquem</dc:creator>
      <dc:date>2017-01-11T11:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping a Date field with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-a-Date-field-with-multiple-values/m-p/1230219#M392060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Enrique,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the response.&lt;/P&gt;&lt;P&gt;If I concatenate like you've mentioned, %Date is having all possible values. But how do I come up with an output as shown in picture2?&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/149106_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/149108_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 12:00:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-a-Date-field-with-multiple-values/m-p/1230219#M392060</guid>
      <dc:creator>divya_anand</dc:creator>
      <dc:date>2017-01-11T12:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping a Date field with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-a-Date-field-with-multiple-values/m-p/1230220#M392061</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;Sorry, You must concatenate the fields considering the ID and Date1, so when you do de load you must add:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Concatenate&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;BridgeTable:&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;Distinct Autonumber(Date1) as ID&lt;/SPAN&gt;, // or whatever_you_do_to_get_the_ID as ID&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date1 as %Date&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;resident your_Table;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;// from your_Table;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Regars.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 12:34:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-a-Date-field-with-multiple-values/m-p/1230220#M392061</guid>
      <dc:creator>enriquem</dc:creator>
      <dc:date>2017-01-11T12:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping a Date field with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-a-Date-field-with-multiple-values/m-p/1230221#M392062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hope that the last post help you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I forgot tell you that with the DISTINCT keyword you will put all the Date1 that don't have your BridgeTable, so pay attention that you don't have duplicated values, and the result of Dates will be the junction of the Date1 and Date2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 12:38:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-a-Date-field-with-multiple-values/m-p/1230221#M392062</guid>
      <dc:creator>enriquem</dc:creator>
      <dc:date>2017-01-11T12:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping a Date field with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-a-Date-field-with-multiple-values/m-p/1230222#M392063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Enrique,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really appreciate your time &amp;amp; efforts. &lt;/P&gt;&lt;P&gt;Do you mean I should use Autonumber ?&lt;/P&gt;&lt;P&gt;Would be really nice if you could use the qvw that I've attached and show how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 12:40:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-a-Date-field-with-multiple-values/m-p/1230222#M392063</guid>
      <dc:creator>divya_anand</dc:creator>
      <dc:date>2017-01-11T12:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping a Date field with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-a-Date-field-with-multiple-values/m-p/1230223#M392064</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;You must use your previous ID, if you were using the AUTONUMBER function you must use it again. In other hand if you are using an ID field you must use this ID fiel again, so you must use whatever you were using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tell you about Autonumber function because it's more efficient for the fields that relation the tables for your future querys, but you can use an id or the date directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will download your qvw and try to give you a solutions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 13:00:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-a-Date-field-with-multiple-values/m-p/1230223#M392064</guid>
      <dc:creator>enriquem</dc:creator>
      <dc:date>2017-01-11T13:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping a Date field with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-a-Date-field-with-multiple-values/m-p/1230224#M392065</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;First, I must understand your model, so what means the ID of the Table1 and Table2 and its dates? Because if the ID don't have relationship to the Date it's one important point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will put my example about how i will resolve your problem, in this model you have a bridge table that connect the table1 and table2 (I suppose that there are the fact table) and i create a calendar between their dates. Now if you apply a filter in the fields on Calendar dimension you will see the corresponding records from Table1 and Table2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe this isn't an easy solutions, but it's work and it's an easy way to understand without Maps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 14:55:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-a-Date-field-with-multiple-values/m-p/1230224#M392065</guid>
      <dc:creator>enriquem</dc:creator>
      <dc:date>2017-01-11T14:55:24Z</dc:date>
    </item>
  </channel>
</rss>

