<?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: Budget table with different granularity in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Budget-table-with-different-granularity/m-p/812185#M286685</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes! Generic keys would be the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See more on &lt;A href="https://community.qlik.com/qlik-blogpost/2819"&gt;Fact Table with Mixed Granularity&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Mar 2015 15:08:42 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2015-03-16T15:08:42Z</dc:date>
    <item>
      <title>Budget table with different granularity</title>
      <link>https://community.qlik.com/t5/QlikView/Budget-table-with-different-granularity/m-p/812184#M286684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I received two budgets table from two different departments of the same company.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first one has the following fields:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Sales rep&lt;/LI&gt;&lt;LI&gt;Month&lt;/LI&gt;&lt;LI&gt;Budget&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second one has the following fields:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Sales rep&lt;/LI&gt;&lt;LI&gt;Customer number&lt;/LI&gt;&lt;LI&gt;Month&lt;/LI&gt;&lt;LI&gt;Budget&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I received the first table way before the second one, and I showed the comparison between actual numbers and budget numbers like this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Sales rep&lt;/LI&gt;&lt;LI&gt;Month&lt;/LI&gt;&lt;LI&gt;Actual&lt;/LI&gt;&lt;LI&gt;Budget&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I need to show the comparison between actual numbers and budget numbers on the sales rep level for the two departments, but &lt;STRONG&gt;also&lt;/STRONG&gt; on the customer level, and I don't know how I can handle the missing customer field on the first table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would generic keys be the solution? In this case, I have different granularity on one fact table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 15:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Budget-table-with-different-granularity/m-p/812184#M286684</guid>
      <dc:creator />
      <dc:date>2015-03-16T15:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Budget table with different granularity</title>
      <link>https://community.qlik.com/t5/QlikView/Budget-table-with-different-granularity/m-p/812185#M286685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes! Generic keys would be the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See more on &lt;A href="https://community.qlik.com/qlik-blogpost/2819"&gt;Fact Table with Mixed Granularity&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 15:08:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Budget-table-with-different-granularity/m-p/812185#M286685</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-03-16T15:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Budget table with different granularity</title>
      <link>https://community.qlik.com/t5/QlikView/Budget-table-with-different-granularity/m-p/812186#M286686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, generic key is your solution in this case. The budget from the first department should be populated with Customer = *ALL* and Customer *ALL* needs&amp;nbsp; to get associated with all customers in the Customers table via generic link table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm describing this solution in great detail in my new book &lt;STRONG&gt;QlikView Your Business&lt;/STRONG&gt;, that's coming out in a month or so...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.masterssummit.com/"&gt;www.masterssummit.com&lt;/A&gt; - take your QlikView skills to the next level!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 15:10:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Budget-table-with-different-granularity/m-p/812186#M286686</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2015-03-16T15:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Budget table with different granularity</title>
      <link>https://community.qlik.com/t5/QlikView/Budget-table-with-different-granularity/m-p/812187#M286687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the quick answer. I've read the brief on generic keys that you provided a few times and it is still not very clear to me.&lt;/P&gt;&lt;P&gt;As Oleg said, I get that I should populate my table from the first department with Customer = *ALL*, but the generic key in the dimensional link table is still a bit confusing. As far as I understand, it should look like this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;%CustomerID (my generic key which should be linked to the fact table)&lt;/LI&gt;&lt;LI&gt;CustomerID (and this should be linked to my dimensional customer table)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what should my %CustomerID key be composed of in my case? SalesRep&amp;amp;CustomerID, CustomerID&amp;amp;CustomerID, something else?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 16:41:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Budget-table-with-different-granularity/m-p/812187#M286687</guid>
      <dc:creator />
      <dc:date>2015-03-16T16:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Budget table with different granularity</title>
      <link>https://community.qlik.com/t5/QlikView/Budget-table-with-different-granularity/m-p/812188#M286688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;simply u can concatenate through concatenate key word in ur script and play from front end comparisons accordingly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 16:57:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Budget-table-with-different-granularity/m-p/812188#M286688</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-03-16T16:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Budget table with different granularity</title>
      <link>https://community.qlik.com/t5/QlikView/Budget-table-with-different-granularity/m-p/812189#M286689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should build your dimension link table in two steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Associate each "true" Customer ID to itself, only named differently - something like this:&lt;/P&gt;&lt;P&gt;Customer_Link:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustomerID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustomerID as %CustomerID&lt;/P&gt;&lt;P&gt;resident&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customers&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Then, associate the value *ALL* with all Customers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustomerID,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '*ALL*' as %CustomerID&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;resident&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customers&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The two loads will get automatically concatenated into a single table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only tricky part in the UI will be comparing Budget to Actual, when the user selects specific Customers. One budget will get reduced to the appropriate values for the individual customers, and the other department's budget will still appear as a whole. You should add a warning about that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 20:16:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Budget-table-with-different-granularity/m-p/812189#M286689</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2015-03-16T20:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Budget table with different granularity</title>
      <link>https://community.qlik.com/t5/QlikView/Budget-table-with-different-granularity/m-p/812190#M286690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A little late, but thank you for the answer. I finally managed to make it work. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 17:15:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Budget-table-with-different-granularity/m-p/812190#M286690</guid>
      <dc:creator />
      <dc:date>2015-03-18T17:15:02Z</dc:date>
    </item>
  </channel>
</rss>

