<?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 Use a link table? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142807#M22198</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With all the discussion around autonumber and hash128, let's try and answer Sander's original question:&lt;/P&gt;&lt;P&gt;Sander, you can use one of 2 approaches (both a valid and both are commonly used):&lt;/P&gt;&lt;P&gt;1. Link Table&lt;/P&gt;&lt;P&gt;2. Concatenation.&lt;/P&gt;&lt;P&gt;I'll try to explain both in a nutshell:&lt;/P&gt;&lt;P&gt;1. Link Table.&lt;/P&gt;&lt;P&gt;To link the Sales and the Forecast, you generate a combined key: Article &amp;amp; '|' &amp;amp; Date. You generate the key from both tables and load it into the LinkTable, along with the individual keys - Article and Date. After you have built the link table (again, loading distinct values from both tables), you need to drop the individual keys from the Sales and Forecast tables, so they are only linked based on the combined key. Your final data structure would look like this:&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;CombinedKey,&lt;/P&gt;&lt;P&gt;Quantity&lt;/P&gt;&lt;P&gt;Forecast:&lt;/P&gt;&lt;P&gt;CombinedKey&lt;/P&gt;&lt;P&gt;F/C Quantity&lt;/P&gt;&lt;P&gt;LinkTable:&lt;/P&gt;&lt;P&gt;CombinedKey,&lt;/P&gt;&lt;P&gt;Article&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;This way, your master tables for Articles and Dates only link to the LinkTable, and so are the "Fact Tables" - Sales and Forecast.&lt;/P&gt;&lt;P&gt;2. Concatenation&lt;/P&gt;&lt;P&gt;You can also concatenate the two tables into a single table and perhaps use flags to differentiate between the two:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;Article, Date, Quantity resident Sales;&lt;/P&gt;&lt;P&gt;concatenate load&lt;/P&gt;&lt;P&gt;Article, Date, FC_Quantity resident Forecast;&lt;/P&gt;&lt;P&gt;This way, you can link Articles and Dates directly to your combined Fact table without any linking.&lt;/P&gt;&lt;P&gt;There is nothing wrong with either approach - mostly a matter of a personal preference.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Apr 2009 02:28:40 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2009-04-30T02:28:40Z</dc:date>
    <item>
      <title>Use a link table?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142800#M22191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I've got 3 tables; a calendar, a salestable and a forecast table. The forecasting is done by month and article and lookes something like this:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Article&lt;/TD&gt;&lt;TD&gt;Month&lt;/TD&gt;&lt;TD&gt;Quantity&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Shoe&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Shoe&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Sock&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;125&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I want to link this table to my Calendar and Article from Salesorder by Articlecode and Month. This seems like a pretty straight forward problem but I can't figure it out. Keep getting loops and synthetic keys.. Do I need to use a Link Table or create shared keys?&lt;/P&gt;&lt;P&gt;Hope you can help!&lt;/P&gt;&lt;P&gt;Regards, Sander&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 17:46:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142800#M22191</guid>
      <dc:creator />
      <dc:date>2009-04-29T17:46:31Z</dc:date>
    </item>
    <item>
      <title>Use a link table?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142801#M22192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you may use &lt;B&gt;hash128(Article,Month) as Id_Forecast&lt;/B&gt; in both table to avoid synthetic keys and certainly loops.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 18:08:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142801#M22192</guid>
      <dc:creator>yblake</dc:creator>
      <dc:date>2009-04-29T18:08:18Z</dc:date>
    </item>
    <item>
      <title>Use a link table?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142802#M22193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use 'autonumberhash128' which returns a number rather than a text string. I have the feeling that it is more efficient than 'hash128' but I am happy to be proven wrong!&lt;/P&gt;&lt;P&gt;You will have to create a link table if you want the elements 'article' and 'month' to be individually selectable.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 18:44:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142802#M22193</guid>
      <dc:creator />
      <dc:date>2009-04-29T18:44:01Z</dc:date>
    </item>
    <item>
      <title>Use a link table?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142803#M22194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;Thanks for the replies!&lt;/P&gt;&lt;P&gt;I don't understand the exact function or advantage of using hash.. Can you explain this to me?&lt;/P&gt;&lt;P&gt;But.. This is my model. It's in Dutch, sorry for that.. As you can see the top left table ('Begroting' = Forecast) is linked to the Artikelcode (=Articlenumber), that's ok.. But 'Begroting' also contains month (=Maand) which should be linked to the Month in the Master Calendar.. When doing so it will be looping...&lt;/P&gt;&lt;P&gt;How can I solve this?&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/1323.scheme.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/1323.scheme.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards, Sander&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 22:01:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142803#M22194</guid>
      <dc:creator />
      <dc:date>2009-04-29T22:01:57Z</dc:date>
    </item>
    <item>
      <title>Use a link table?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142804#M22195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;a complex key is a key made by different fields. when QV find links involving different fields, it does create a synthetic key. you should always prefer to create complex keys yourself rather to let QV create synthetic keys. you could create a complex key manually, i.e. using :&lt;/P&gt;&lt;P&gt;date(OrderDate,'YYYYMMDD') &amp;amp; '-' &amp;amp; text(IdArticle) as Id_Forecast&lt;/P&gt;&lt;P&gt;the hash128 or autonumberhash128 gives you ability to create a complex key automatically. it does create an compact hashed key handling possible keys homonyms (within the same script). whereas with hash128 the hash code is visible, with autonumberhash128 the hash code is hided internally and only it's index is visible. i think is doesn't impact speed, as QV always handles internally for all fields an indexed values list.&lt;/P&gt;&lt;P&gt;in your case, I would include :&lt;/P&gt;&lt;P&gt;table verkoop : &lt;B&gt;text(Artikelcode) &amp;amp; '-' &amp;amp; num(month(OrderDatum),'00') as Id_Forecast&lt;/B&gt;&lt;/P&gt;&lt;P&gt;table begroting : &lt;B&gt;text(Artikelcode) &amp;amp; '-' &amp;amp; num(Maand,'00') as Id_Forecast&lt;/B&gt;&lt;/P&gt;&lt;P&gt;supress Artikelcode and Maand from begroting where they are no more needed, the loops will vanish.&lt;/P&gt;&lt;P&gt;nb : if OrderDatum is text formatted i.e. 2009-04-29, use month(date#(OrderDatum,'YYYY-MM-DD'))&lt;/P&gt;&lt;P&gt;bedankt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 01:22:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142804#M22195</guid>
      <dc:creator>yblake</dc:creator>
      <dc:date>2009-04-30T01:22:18Z</dc:date>
    </item>
    <item>
      <title>Use a link table?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142805#M22196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yves, some info I think you'll find helpful...&lt;/P&gt;&lt;P&gt;When building keys, it doesn't matter if it's text or numeric. But if any comparisons or grouping are done, such as using the key field in AGGR(), then it makes a big difference in large datasets to use a number. Numbers are compared natively in the processor and are sorted &amp;amp; matched 10X faster.&lt;/P&gt;&lt;P&gt;Also, using autonumber results in a field of consecutive numbers. QlikView uses an optimization on fields with consecutive numbers (and none missing) that uses almost NO space on disk or in memory and is also faster in calculations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 01:38:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142805#M22196</guid>
      <dc:creator />
      <dc:date>2009-04-30T01:38:46Z</dc:date>
    </item>
    <item>
      <title>Use a link table?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142806#M22197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right, I changed hash128 to autonumberhash128 in an application, and model size reduced 20%&lt;BR /&gt;&lt;BR /&gt;I adopt it (I suppose hash codes list are destroyed after complete script loading, to handle homonyms in different tables ?)&lt;BR /&gt;&lt;BR /&gt;However for keys, text is a smart way to mix String and Numbers (or Date), and is readable for debugging purposes.&lt;/P&gt;&lt;P&gt;When the model is ok, it can easily be turned to hashed keys :&lt;BR /&gt;&lt;BR /&gt;table verkoop : autonumberhash128(Artikelcode,month(OrderDatum)) as Id_Forecast&lt;BR /&gt;table begroting : autonumberhash128(Artikelcode,Maand) as Id_Forecast&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 02:10:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142806#M22197</guid>
      <dc:creator>yblake</dc:creator>
      <dc:date>2009-04-30T02:10:26Z</dc:date>
    </item>
    <item>
      <title>Use a link table?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142807#M22198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With all the discussion around autonumber and hash128, let's try and answer Sander's original question:&lt;/P&gt;&lt;P&gt;Sander, you can use one of 2 approaches (both a valid and both are commonly used):&lt;/P&gt;&lt;P&gt;1. Link Table&lt;/P&gt;&lt;P&gt;2. Concatenation.&lt;/P&gt;&lt;P&gt;I'll try to explain both in a nutshell:&lt;/P&gt;&lt;P&gt;1. Link Table.&lt;/P&gt;&lt;P&gt;To link the Sales and the Forecast, you generate a combined key: Article &amp;amp; '|' &amp;amp; Date. You generate the key from both tables and load it into the LinkTable, along with the individual keys - Article and Date. After you have built the link table (again, loading distinct values from both tables), you need to drop the individual keys from the Sales and Forecast tables, so they are only linked based on the combined key. Your final data structure would look like this:&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;CombinedKey,&lt;/P&gt;&lt;P&gt;Quantity&lt;/P&gt;&lt;P&gt;Forecast:&lt;/P&gt;&lt;P&gt;CombinedKey&lt;/P&gt;&lt;P&gt;F/C Quantity&lt;/P&gt;&lt;P&gt;LinkTable:&lt;/P&gt;&lt;P&gt;CombinedKey,&lt;/P&gt;&lt;P&gt;Article&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;This way, your master tables for Articles and Dates only link to the LinkTable, and so are the "Fact Tables" - Sales and Forecast.&lt;/P&gt;&lt;P&gt;2. Concatenation&lt;/P&gt;&lt;P&gt;You can also concatenate the two tables into a single table and perhaps use flags to differentiate between the two:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;Article, Date, Quantity resident Sales;&lt;/P&gt;&lt;P&gt;concatenate load&lt;/P&gt;&lt;P&gt;Article, Date, FC_Quantity resident Forecast;&lt;/P&gt;&lt;P&gt;This way, you can link Articles and Dates directly to your combined Fact table without any linking.&lt;/P&gt;&lt;P&gt;There is nothing wrong with either approach - mostly a matter of a personal preference.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 02:28:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142807#M22198</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-04-30T02:28:40Z</dc:date>
    </item>
    <item>
      <title>Use a link table?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142808#M22199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One last wrinkle...&lt;/P&gt;&lt;P&gt;Autonumberhash128() uses only one hash table. If you use it in two different situations in your load script then you will not get consecutive values.&lt;/P&gt;&lt;P&gt;On the other hand, autonumber() has an optional ID parameter because it can use more than one hash table.&lt;/P&gt;&lt;P&gt;So it may be best to do something like the following...&lt;/P&gt;&lt;P&gt;autonumber( hash128(Field1,Field2), 'one')&lt;/P&gt;&lt;P&gt;autonumber( hash128(Field2,Field3), 'two')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 02:58:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142808#M22199</guid>
      <dc:creator />
      <dc:date>2009-04-30T02:58:18Z</dc:date>
    </item>
    <item>
      <title>Use a link table?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142809#M22200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, Sander's problem is a classic loop scenario.&lt;/P&gt;&lt;P&gt;Forecasting is at the article and &lt;STRONG&gt;month&lt;/STRONG&gt; level whereas the sales are article and actual &lt;STRONG&gt;date&lt;/STRONG&gt;. So, if 'Month' had a selection, the link from the calendar table to sales would be on the 'Orderdatum' but you would also expect to see the forecast for that month; select a specific 'Orderdatum' and where does the forecast data go?&lt;/P&gt;&lt;P&gt;I'll see what I can come up with, but this post is really to tease a response from the more learned members of the community!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 16:28:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142809#M22200</guid>
      <dc:creator />
      <dc:date>2009-04-30T16:28:40Z</dc:date>
    </item>
    <item>
      <title>Use a link table?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142810#M22201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;Thanks very much for spending your time on my problem! I had a couple of days off so couldn't reply earlier.. Sorry for that.. This is a great post for, I guess, a pretty common problem for QV newbies as myself!&lt;/P&gt;&lt;P&gt;Using Yves' solution fixed the problem with the loop. Now my Forecast table is linked to my Sales table on Article &amp;amp; Month and the loop is gone.&lt;/P&gt;&lt;P&gt;But... My next problem is exactly what Gordon mentions.. Having forecast data on a monthly level, what to do when someone is selecting different time dimensions??&lt;/P&gt;&lt;P&gt;I hope you guys can help!&lt;/P&gt;&lt;P&gt;Thanks again, Sander&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 19:02:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142810#M22201</guid>
      <dc:creator />
      <dc:date>2009-05-04T19:02:50Z</dc:date>
    </item>
    <item>
      <title>Use a link table?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142811#M22202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to avoid displaying monthly forecast when a date or a week is selected ? Some ways to go :&lt;/P&gt;&lt;P&gt;- Display forecast comparison on a separate sheet (or chart), and use a sheet (or chart) condition display to hide if any &lt;I&gt;undesired&lt;/I&gt; fields are selected&lt;/P&gt;&lt;P&gt;- Divide by script your month/product forecast by day (even by customer or vendor) and re summarize in expressions.&lt;/P&gt;&lt;P&gt;- &lt;I&gt;Approximate&lt;/I&gt; daily forecast dividing monthly forecast by selected &lt;B&gt;networkdays&lt;/B&gt; (this is a QV function).&lt;/P&gt;&lt;P&gt;- I saw applications setting text color to white if any undesired fields are selected. i don't like very much since it is stille visible i.e; when exporting to excel.&lt;/P&gt;&lt;P&gt;- Use a separate application for real/forecast comparison with only common dimensions, since you will have to check not only time but also other dimensions not relevant with your forecast (i.e. customers, vendors,... since your have forecast is by product/month)&lt;/P&gt;&lt;P&gt;Personnaly, I tend to use the first approach (hidding) or the last approach (separation).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 01:59:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142811#M22202</guid>
      <dc:creator>yblake</dc:creator>
      <dc:date>2009-05-05T01:59:01Z</dc:date>
    </item>
    <item>
      <title>Use a link table?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142812#M22203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone please upload a example.. that will be more Illustrative..&lt;BR /&gt;&lt;BR /&gt;thanks in advance&lt;/P&gt;&lt;P&gt;Sravan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 17:05:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142812#M22203</guid>
      <dc:creator />
      <dc:date>2009-05-05T17:05:16Z</dc:date>
    </item>
    <item>
      <title>Use a link table?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142813#M22204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yves,&lt;/P&gt;&lt;P&gt;I noticed that you proposed a workaround for the difference between the level of grain in the two fact tables and would suggest that this is up to the business to decide whether such an approach is valid or not. If it is that important for the business to have this comparison I would advise Sander to ask the business for a budget that is equal to the level of detail that is present in his sales fact table.&lt;/P&gt;&lt;P&gt;When one decides to have different levels of grain in one application you have to be pretty carefull to avoid undisired behavior when calculating. I'd rather would go for an aggregated application that is equal to his budget and when additional details are required add a button that opens up the appropriate sales fact table.&lt;/P&gt;&lt;P&gt;I will go along with your last approach (separation)!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jun 2010 13:13:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142813#M22204</guid>
      <dc:creator />
      <dc:date>2010-06-30T13:13:31Z</dc:date>
    </item>
    <item>
      <title>Use a link table?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142814#M22205</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;&lt;/P&gt;&lt;P&gt;I did the same way as Oleg had said. I have been always trying with Linktable from a longtime. Every time I try it gives me performance problems. I dont know why. May be some expert might say, where I am going wrong. I saw the automatic generation(http://community.qlik.com/media/p/76744.aspx) of Linktable and removing of the Sythetic keys and when I use that script it works.I tried the same procedure manually in script to understand the linktable generation and it slows down after loading of data and Qlikview tries to overcome some Problems. I donno with what exactly. Mydata model with the automatic script (Here Lars doesnot use any autonumberhash128 or hash128):&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/5277.exportLinktable.png"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/5277.exportLinktable.png" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Now the same thing I did it with manually by using key1&amp;amp;'-'&amp;amp; key2 etc as key1_key and without using autonumberhash128 or hash128. At the end I get this datamodel but with Performance problems.&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/4810.export1.png"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/4810.export1.png" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If I change to autonumberhash128 it does not bring much. Where am I doing wrong. I need the Linktable for my Dashboard. Otherwise I cannot show a common Year, Month, Day in the dashboard where I have a finished KPI layout.&lt;/P&gt;&lt;P&gt;Can anyone can say where am I doing wrong.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sravan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 09:28:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142814#M22205</guid>
      <dc:creator />
      <dc:date>2010-07-02T09:28:22Z</dc:date>
    </item>
    <item>
      <title>Use a link table?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142815#M22206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To add to this the memory which was 6 MB by using the automatic script became 293 MB with my manual script&lt;IMG alt="Surprise" src="http://community.qlik.com/emoticons/emotion-3.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 09:46:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142815#M22206</guid>
      <dc:creator />
      <dc:date>2010-07-02T09:46:26Z</dc:date>
    </item>
    <item>
      <title>Use a link table?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142816#M22207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved used Concatenate instead of Join in the Linktable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jul 2010 10:01:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-link-table/m-p/142816#M22207</guid>
      <dc:creator />
      <dc:date>2010-07-05T10:01:38Z</dc:date>
    </item>
  </channel>
</rss>

