<?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: Problem with Synthetic key in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-Synthetic-key/m-p/501425#M549797</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Difficult without understanding your data and the relationships between your tables but try concatenating the first two, i.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mon1:&lt;/P&gt;&lt;P&gt;LOAD date, &lt;/P&gt;&lt;P&gt;&amp;nbsp; text(month(date)) as mon,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(date, 'YYYY') as fy,&lt;/P&gt;&lt;P&gt;&amp;nbsp; sub as sb,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;D:\Projekte\QlikView\mon.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate(Mon1)&lt;/P&gt;&lt;P&gt;LOAD date, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; text(month(date)) as mon, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(date, 'YYYY') as fy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sub as sb, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;D:\Projekte\QlikView\mon.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Tabelle2);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mon3:&lt;/P&gt;&lt;P&gt;LOAD sub as sb,&lt;/P&gt;&lt;P&gt;name&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;D:\Projekte\QlikView\mon.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Tabelle3);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MonthQuarter:&lt;/P&gt;&lt;P&gt;Noconcatenate Load * Inline [&lt;/P&gt;&lt;P&gt;Month1, MonthName, Quarter, mon&lt;/P&gt;&lt;P&gt;1, January, 2, Jan,&lt;/P&gt;&lt;P&gt;2, February, 2, Feb,&lt;/P&gt;&lt;P&gt;3, March, 2, Mrz,&lt;/P&gt;&lt;P&gt;4, April, 3, Apr,&lt;/P&gt;&lt;P&gt;5, May, 3, May,&lt;/P&gt;&lt;P&gt;6, June, 3, Jun,&lt;/P&gt;&lt;P&gt;7, July, 4, Jul,&lt;/P&gt;&lt;P&gt;8, August, 4, Aug,&lt;/P&gt;&lt;P&gt;9, September, 4, Sep,&lt;/P&gt;&lt;P&gt;10, October, 1, Oct,&lt;/P&gt;&lt;P&gt;11, November, 1, Nov,&lt;/P&gt;&lt;P&gt;12, December, 1, Dec]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Dec 2013 13:34:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-12-18T13:34:28Z</dc:date>
    <item>
      <title>Problem with Synthetic key</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Synthetic-key/m-p/501424#M549796</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;in a data model there is a synthetic key. Do you have any idea to eliminate this bug?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 13:24:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Synthetic-key/m-p/501424#M549796</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-18T13:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Synthetic key</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Synthetic-key/m-p/501425#M549797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Difficult without understanding your data and the relationships between your tables but try concatenating the first two, i.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mon1:&lt;/P&gt;&lt;P&gt;LOAD date, &lt;/P&gt;&lt;P&gt;&amp;nbsp; text(month(date)) as mon,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(date, 'YYYY') as fy,&lt;/P&gt;&lt;P&gt;&amp;nbsp; sub as sb,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;D:\Projekte\QlikView\mon.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate(Mon1)&lt;/P&gt;&lt;P&gt;LOAD date, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; text(month(date)) as mon, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(date, 'YYYY') as fy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sub as sb, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;D:\Projekte\QlikView\mon.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Tabelle2);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mon3:&lt;/P&gt;&lt;P&gt;LOAD sub as sb,&lt;/P&gt;&lt;P&gt;name&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;D:\Projekte\QlikView\mon.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Tabelle3);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MonthQuarter:&lt;/P&gt;&lt;P&gt;Noconcatenate Load * Inline [&lt;/P&gt;&lt;P&gt;Month1, MonthName, Quarter, mon&lt;/P&gt;&lt;P&gt;1, January, 2, Jan,&lt;/P&gt;&lt;P&gt;2, February, 2, Feb,&lt;/P&gt;&lt;P&gt;3, March, 2, Mrz,&lt;/P&gt;&lt;P&gt;4, April, 3, Apr,&lt;/P&gt;&lt;P&gt;5, May, 3, May,&lt;/P&gt;&lt;P&gt;6, June, 3, Jun,&lt;/P&gt;&lt;P&gt;7, July, 4, Jul,&lt;/P&gt;&lt;P&gt;8, August, 4, Aug,&lt;/P&gt;&lt;P&gt;9, September, 4, Sep,&lt;/P&gt;&lt;P&gt;10, October, 1, Oct,&lt;/P&gt;&lt;P&gt;11, November, 1, Nov,&lt;/P&gt;&lt;P&gt;12, December, 1, Dec]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 13:34:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Synthetic-key/m-p/501425#M549797</guid>
      <dc:creator />
      <dc:date>2013-12-18T13:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Synthetic key</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Synthetic-key/m-p/501426#M549798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a synthetic key is not a but - but it can be annoying all right.&lt;/P&gt;&lt;P&gt;That is because of QlikView's built-in function of automatically linking tables based on (ALL) the fields that have the same name - which can sometimes even break everything when the content of the fields does not match, only the name is the same ...&lt;/P&gt;&lt;P&gt;You have several options:&lt;/P&gt;&lt;P&gt;- Rename fields so that only the one field you want to link will be automatically linked&amp;nbsp; by QlikView&lt;/P&gt;&lt;P&gt;- use a link_table (that is actually quite the same as a synthetic key, just "in goody")&lt;/P&gt;&lt;P&gt;- join the two tables if that can be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 13:38:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Synthetic-key/m-p/501426#M549798</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2013-12-18T13:38:07Z</dc:date>
    </item>
  </channel>
</rss>

