<?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 About Syn in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/About-Syn/m-p/237394#M88451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Could your experts explain what is the following meaning?&lt;/P&gt;&lt;P&gt;$Syn 1 = LocaleId+TimeId&lt;BR /&gt;$Syn 2 = LocaleId+OrderId+TimeId&lt;BR /&gt;$Syn 3 = LocaleId+MemberId+OrderId+TimeId&lt;BR /&gt;&lt;STRONG&gt;$Syn 4 = $Syn 1+$Syn 2&lt;BR /&gt;$Syn 5 = $Syn 1+$Syn 2+$Syn 3&lt;BR /&gt;$Syn 6 = $Syn 4+$Syn 5&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I was wondering why there exists syn4,5,6 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Jan 2011 11:52:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-03T11:52:41Z</dc:date>
    <item>
      <title>About Syn</title>
      <link>https://community.qlik.com/t5/QlikView/About-Syn/m-p/237394#M88451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Could your experts explain what is the following meaning?&lt;/P&gt;&lt;P&gt;$Syn 1 = LocaleId+TimeId&lt;BR /&gt;$Syn 2 = LocaleId+OrderId+TimeId&lt;BR /&gt;$Syn 3 = LocaleId+MemberId+OrderId+TimeId&lt;BR /&gt;&lt;STRONG&gt;$Syn 4 = $Syn 1+$Syn 2&lt;BR /&gt;$Syn 5 = $Syn 1+$Syn 2+$Syn 3&lt;BR /&gt;$Syn 6 = $Syn 4+$Syn 5&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I was wondering why there exists syn4,5,6 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jan 2011 11:52:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/About-Syn/m-p/237394#M88451</guid>
      <dc:creator />
      <dc:date>2011-01-03T11:52:41Z</dc:date>
    </item>
    <item>
      <title>About Syn</title>
      <link>https://community.qlik.com/t5/QlikView/About-Syn/m-p/237395#M88452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In general it is advisable, not to tolerate synthetic keys but to replace &amp;amp; control the links between tables. Otherwise you always run into danger to have "strange" results and/or memory-problems due to cartesian products created.&lt;/P&gt;&lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jan 2011 22:34:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/About-Syn/m-p/237395#M88452</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2011-01-03T22:34:07Z</dc:date>
    </item>
    <item>
      <title>About Syn</title>
      <link>https://community.qlik.com/t5/QlikView/About-Syn/m-p/237396#M88453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;synthetic keys 4, 5, and 6 were created to handle overlaps between the previous synthetics.&lt;/P&gt;&lt;P&gt;ie: Synthetic 1 contains LocaleId and TimeId; Synthetic 2 contains these two and OrderId. Therefore another synthetic needs to be created (Syntheitc 4 in this case) to resolve the linking.&lt;/P&gt;&lt;P&gt;Just so you're aware, a document with this kind of linking schema will not do what you expect, even though the script appears to be running correctly to completion, making a selection on any of these tables will have results that are difficult to predict or understand.&lt;/P&gt;&lt;P&gt;In other words, these synthetics need to be addressed prior to further development.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 01:09:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/About-Syn/m-p/237396#M88453</guid>
      <dc:creator />
      <dc:date>2011-01-04T01:09:47Z</dc:date>
    </item>
    <item>
      <title>About Syn</title>
      <link>https://community.qlik.com/t5/QlikView/About-Syn/m-p/237397#M88454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;I always get the strange results when used syn key.&lt;/P&gt;&lt;P&gt;But how can I maintain a link table?&lt;/P&gt;&lt;P&gt;I have the following scenario,&lt;/P&gt;&lt;P&gt;Order:&lt;BR /&gt;load * Inline&lt;BR /&gt;[LocaleId,MemberId,OrderId,TimeId&lt;BR /&gt;1,1,1,1&lt;BR /&gt;1,2,2,1&lt;BR /&gt;];&lt;BR /&gt;Revenue:&lt;BR /&gt; load * Inline&lt;BR /&gt;[LocaleId,MemberId,OrderId,TimeId,Amount&lt;BR /&gt;1,1,1,1,30&lt;BR /&gt;];&lt;BR /&gt;ChargeTimes:&lt;BR /&gt;load * Inline&lt;BR /&gt;[LocaleId,OrderId,TimeId,ChargeTimes&lt;BR /&gt;1,1,1,1&lt;BR /&gt;1,2,1,0&lt;BR /&gt;];&lt;BR /&gt;Track:&lt;BR /&gt;load * Inline&lt;BR /&gt;[LocaleId,TimeId,Visits&lt;BR /&gt;1,4,10&lt;BR /&gt;2,2,10&lt;BR /&gt;3,1,10&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will find orders connects revenue with syn(LocaleId,MemberId,OrderId)&lt;/P&gt;&lt;P&gt;ChargeTimes uses syn(LocaleId,OrderId,TimeId)&lt;/P&gt;&lt;P&gt;Track uses syn(LocaleId,TimeId)&lt;/P&gt;&lt;P&gt;But after I load data into qvw, the results are not what I expected.&lt;/P&gt;&lt;P&gt;I use LocaleId as the selection: it has 1,2,3. three options.&lt;/P&gt;&lt;P&gt;But when I choose 1,2,3 and use a text to show:sum(Visits), it always gives me 0. But if I don't choose anything, Clear the selection, it will show the right num 30.&lt;/P&gt;&lt;P&gt;I don't know why, I really would like you to explain it and show me how do they join.&lt;/P&gt;&lt;P&gt;What I can do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Isaac Li&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 02:30:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/About-Syn/m-p/237397#M88454</guid>
      <dc:creator />
      <dc:date>2011-01-04T02:30:56Z</dc:date>
    </item>
    <item>
      <title>About Syn</title>
      <link>https://community.qlik.com/t5/QlikView/About-Syn/m-p/237398#M88455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Isaac,&lt;/P&gt;&lt;P&gt;not easy to solve, as I do not quite understand which data are behind.&lt;/P&gt;&lt;P&gt;You may simply concatenate the various data and build your formulas accordingly.&lt;/P&gt;&lt;P&gt;I tend to build a kind of backbone, which might be your orders table and then to assign the events to each of the orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 21:32:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/About-Syn/m-p/237398#M88455</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2011-01-04T21:32:00Z</dc:date>
    </item>
    <item>
      <title>About Syn</title>
      <link>https://community.qlik.com/t5/QlikView/About-Syn/m-p/237399#M88456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like Orders and Revenue are at the same level of detail, and therefore they can be easily combined into a single table using Joining. This will simplify your structure a lot.&lt;/P&gt;&lt;P&gt;The rest can be solved with a concatenated Fact table, as Peter suggested, or, if you want to take a chance and tolerate the remaining Synthetic keys, you can try and leave the data structure as is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 22:24:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/About-Syn/m-p/237399#M88456</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2011-01-04T22:24:10Z</dc:date>
    </item>
  </channel>
</rss>

