<?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: Generate new Dimension from different columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Generate-new-Dimension-from-different-columns/m-p/1452664#M611744</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;Have you think in concatenating the values to create a table with:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;a) Project ID&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;b) Invoice Date&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;c) Invoice Value&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Saludos.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Oct 2017 09:08:27 GMT</pubDate>
    <dc:creator>fvelascog72</dc:creator>
    <dc:date>2017-10-16T09:08:27Z</dc:date>
    <item>
      <title>Generate new Dimension from different columns</title>
      <link>https://community.qlik.com/t5/QlikView/Generate-new-Dimension-from-different-columns/m-p/1452663#M611743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am stucked with the following task:&lt;/P&gt;&lt;P&gt;In a table I have 5 columns:&lt;/P&gt;&lt;P&gt;a) Project ID&lt;/P&gt;&lt;P&gt;b) Invoice Date 1&lt;/P&gt;&lt;P&gt;c) Invoice Value 1&lt;/P&gt;&lt;P&gt;d) Invoice Date 2&lt;/P&gt;&lt;P&gt;e) Invoice Value 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like get a bar chart, depicting&lt;/P&gt;&lt;P&gt;dimension: all invoice dates from columns b and d&lt;/P&gt;&lt;P&gt;formula: all invoice values from colomns c and e&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought to generate two new columns "Invoice Date All" and "Invoice Value All" while loading the table.&lt;/P&gt;&lt;P&gt;Any idea how to put this in the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 07:38:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generate-new-Dimension-from-different-columns/m-p/1452663#M611743</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-16T07:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Generate new Dimension from different columns</title>
      <link>https://community.qlik.com/t5/QlikView/Generate-new-Dimension-from-different-columns/m-p/1452664#M611744</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;Have you think in concatenating the values to create a table with:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;a) Project ID&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;b) Invoice Date&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;c) Invoice Value&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Saludos.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 09:08:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generate-new-Dimension-from-different-columns/m-p/1452664#M611744</guid>
      <dc:creator>fvelascog72</dc:creator>
      <dc:date>2017-10-16T09:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Generate new Dimension from different columns</title>
      <link>https://community.qlik.com/t5/QlikView/Generate-new-Dimension-from-different-columns/m-p/1452665#M611745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load [Project ID], [Invoice Date 1] as [Invoice Date All], 'Date 1' as Flag, [Invoice Value 1] as [Invoice Value All] From Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Join // Inner Join&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load [Project ID], [Invoice Date 2] as [Invoice Date All], 'Date 2' as Flag, [Invoice Value 2] as [Invoice Value All] From Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 09:11:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generate-new-Dimension-from-different-columns/m-p/1452665#M611745</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-16T09:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Generate new Dimension from different columns</title>
      <link>https://community.qlik.com/t5/QlikView/Generate-new-Dimension-from-different-columns/m-p/1452666#M611746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Michael,&lt;/P&gt;&lt;P&gt;I think Federico's idea is worth trying. Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; [Project ID]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; [Invoice Date 1] as [Invoice Date]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; [Invoice Value 1] as [Invoice Value]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From ...&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; [Project ID]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; [Invoice Date 2] as [Invoice Date]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; [Invoice Value 2] as [Invoice Value]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From ...&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 09:58:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generate-new-Dimension-from-different-columns/m-p/1452666#M611746</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-10-16T09:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Generate new Dimension from different columns</title>
      <link>https://community.qlik.com/t5/QlikView/Generate-new-Dimension-from-different-columns/m-p/1452667#M611747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;H Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your suggestion worked perfectly well. Really great help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 11:24:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generate-new-Dimension-from-different-columns/m-p/1452667#M611747</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-16T11:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Generate new Dimension from different columns</title>
      <link>https://community.qlik.com/t5/QlikView/Generate-new-Dimension-from-different-columns/m-p/1452668#M611748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frederico,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your feedback.&lt;/P&gt;&lt;P&gt;I tried your suggestion, but it did not work properly if I had to use more that two columns (Invoice Date 1; Invoice Date 2 ... Invoice Date 4)&lt;/P&gt;&lt;P&gt;It allows loading the values even with 4 Inovice dates correctly (checked in a table box).&lt;/P&gt;&lt;P&gt;But if&amp;nbsp; I set up a bar chart in which I use Month([Invoice Date]) as a dimension, and sum([Invoice Value]), in each month that has more than two values the sums are not calculated properly (see month June, July, Oct.) &lt;/P&gt;&lt;P&gt;Only months in which I do have 1 or 2 entries are shown correct values. (Please see screen shot).&lt;/P&gt;&lt;P&gt;The suggestion by Ani to use "inner join" worked in this setting very well.&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/179768_Screenshot.JPG" style="height: 224px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 11:43:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generate-new-Dimension-from-different-columns/m-p/1452668#M611748</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-16T11:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Generate new Dimension from different columns</title>
      <link>https://community.qlik.com/t5/QlikView/Generate-new-Dimension-from-different-columns/m-p/1452669#M611749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frederico, Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recheck my script, and I figure out why the bar chart did not show the correct values.&lt;/P&gt;&lt;P&gt;Rather stupid mistake.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can now say that your suggestion to concatenating the data in a table works also perfectly well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for any confusion.&lt;/P&gt;&lt;P&gt;And many thanks&amp;nbsp; to you for helping out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 14:16:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generate-new-Dimension-from-different-columns/m-p/1452669#M611749</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-16T14:16:49Z</dc:date>
    </item>
  </channel>
</rss>

