<?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 Budget vs Actual Link Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Budget-vs-Actual-Link-Table/m-p/526065#M196589</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a financial dashboard which has a primary fact table&lt;BR /&gt;(Actual) with financial information as well as a budget fact table (Budget).&lt;BR /&gt;The primary fields in the budget table that I need linked to the financial&lt;BR /&gt;table are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;AccountingYear&lt;/LI&gt;&lt;LI&gt;AccountingPeriod&lt;/LI&gt;&lt;LI&gt;LocationCode&lt;/LI&gt;&lt;LI&gt;DepartmentCode&lt;/LI&gt;&lt;LI&gt;AccountCode&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have linked the two tables together using fields 3-5 in a link table with&lt;BR /&gt;the three fields as a concatenated key, and can create a table showing budget&lt;BR /&gt;vs actual information with Department as a dimension. I did this by putting in&lt;BR /&gt;set analysis BudgetAccountingPeriodAndYear =&lt;BR /&gt;{$(max(ActualAccountingPeriodAndYear))}.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only used fields 3-5 in the key because when I added fields 1 and 2 to the&lt;BR /&gt;key, QlikView would not display the budget amount if there was no actual amount&lt;BR /&gt;for that accounting period and year. However, how do I make this work so I can&lt;BR /&gt;show a graph of budget vs actual lines or bars with a date as a dimension?&lt;BR /&gt;Right now if I use the date from the Actual table, then all Budget information&lt;BR /&gt;is displayed going back to the earliest date while Actual information is&lt;BR /&gt;displayed correctly. Please let me know if you can help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Sep 2013 12:52:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-16T12:52:19Z</dc:date>
    <item>
      <title>Budget vs Actual Link Table</title>
      <link>https://community.qlik.com/t5/QlikView/Budget-vs-Actual-Link-Table/m-p/526065#M196589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a financial dashboard which has a primary fact table&lt;BR /&gt;(Actual) with financial information as well as a budget fact table (Budget).&lt;BR /&gt;The primary fields in the budget table that I need linked to the financial&lt;BR /&gt;table are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;AccountingYear&lt;/LI&gt;&lt;LI&gt;AccountingPeriod&lt;/LI&gt;&lt;LI&gt;LocationCode&lt;/LI&gt;&lt;LI&gt;DepartmentCode&lt;/LI&gt;&lt;LI&gt;AccountCode&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have linked the two tables together using fields 3-5 in a link table with&lt;BR /&gt;the three fields as a concatenated key, and can create a table showing budget&lt;BR /&gt;vs actual information with Department as a dimension. I did this by putting in&lt;BR /&gt;set analysis BudgetAccountingPeriodAndYear =&lt;BR /&gt;{$(max(ActualAccountingPeriodAndYear))}.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only used fields 3-5 in the key because when I added fields 1 and 2 to the&lt;BR /&gt;key, QlikView would not display the budget amount if there was no actual amount&lt;BR /&gt;for that accounting period and year. However, how do I make this work so I can&lt;BR /&gt;show a graph of budget vs actual lines or bars with a date as a dimension?&lt;BR /&gt;Right now if I use the date from the Actual table, then all Budget information&lt;BR /&gt;is displayed going back to the earliest date while Actual information is&lt;BR /&gt;displayed correctly. Please let me know if you can help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 12:52:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Budget-vs-Actual-Link-Table/m-p/526065#M196589</guid>
      <dc:creator />
      <dc:date>2013-09-16T12:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Budget vs Actual Link Table</title>
      <link>https://community.qlik.com/t5/QlikView/Budget-vs-Actual-Link-Table/m-p/526066#M196590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should try to consolidate both fact tables into one. See this blog post: &lt;A _jive_internal="true" class="font-color-normal" href="https://community.qlik.com/blogs/qlikviewdesignblog/2012/10/26/mixed-granularity" style="font-family: inherit; font-size: 12px; font-style: inherit; color: #3d3d3d; text-decoration: underline;"&gt;Fact Table with Mixed Granularity&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 12:57:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Budget-vs-Actual-Link-Table/m-p/526066#M196590</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-09-16T12:57:02Z</dc:date>
    </item>
  </channel>
</rss>

