<?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: Linking Budget data to Fact table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Linking-Budget-data-to-Fact-table/m-p/840303#M1006803</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Budget:&lt;/P&gt;&lt;P&gt;CrossTable(Month, Budget, 1)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Item Code, M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM BudgetDataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 May 2015 09:07:20 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2015-05-12T09:07:20Z</dc:date>
    <item>
      <title>Linking Budget data to Fact table</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-Budget-data-to-Fact-table/m-p/840301#M1006801</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;I have a two years of data in my data model that I have already built. I now need to bring in two tables containing&amp;nbsp; budget information for the two years. The two budget tables has no date fields. The table structure is as below:&lt;/P&gt;&lt;P&gt;Note: M1-M2 represents Jan - Dec respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Budget 2010:&lt;/P&gt;&lt;P&gt;Item Code, Item Desc, M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12&lt;/P&gt;&lt;P&gt;A1, Tiles, 12, 143, 56, 780, 623, 71, 64, 78, 54, 54, 81,10&lt;/P&gt;&lt;P&gt;A2, &lt;SPAN style="font-size: 10pt;"&gt;Geyser, &lt;SPAN style="font-size: 13.3333330154419px;"&gt;15, 154, 543, 721, 643, 64, 87, 09, 987, 09, 76,43&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;A3, &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Taps, &lt;SPAN style="font-size: 13.3333330154419px;"&gt;19, 15, 182, 765, 661, 71, 63, 87, 909, 81, 91,61&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;A4,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Mixers, 81&lt;SPAN style="font-size: 13.3333330154419px;"&gt;, 151, 55, 81, 451, 61, 71, 61, 41, 51, 85,98&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;A5, &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Tubs, &lt;SPAN style="font-size: 13.3333330154419px;"&gt;15, 154, 543, 721, 643, 64, 87, 09, 987, 09, 76,43&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Then I have &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Budget 2011 table with the same structure.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Note: In my fact table&amp;nbsp; I have &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Item Code and&amp;nbsp; Item Desc fields.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;How can I bring this data into my model and be able to identify on the front end which budget amount is for which year and month?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 08:49:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-Budget-data-to-Fact-table/m-p/840301#M1006801</guid>
      <dc:creator />
      <dc:date>2015-05-12T08:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Linking Budget data to Fact table</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-Budget-data-to-Fact-table/m-p/840302#M1006802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/tstewart"&gt;tstewart&lt;/A&gt;&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;What is the table structure of Fact Table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 09:06:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-Budget-data-to-Fact-table/m-p/840302#M1006802</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-05-12T09:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Linking Budget data to Fact table</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-Budget-data-to-Fact-table/m-p/840303#M1006803</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Budget:&lt;/P&gt;&lt;P&gt;CrossTable(Month, Budget, 1)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Item Code, M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM BudgetDataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 09:07:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-Budget-data-to-Fact-table/m-p/840303#M1006803</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-05-12T09:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Linking Budget data to Fact table</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-Budget-data-to-Fact-table/m-p/840304#M1006804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1, First you need to transpose your table (crosstable) and make M1-12 to 'Month'&lt;/P&gt;&lt;P&gt;2, remove the M from month&lt;/P&gt;&lt;P&gt;3, hardcode '2010' as year if you are manually load each table&lt;/P&gt;&lt;P&gt;4, 'Budget' as source&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4 in your fact table you have date i suppose. you also need to add month and year to your fact table and remove them from your date calender.&lt;/P&gt;&lt;P&gt;5, 'Sales' as source&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6 concatenate Sales and budget in to one fact table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 09:08:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-Budget-data-to-Fact-table/m-p/840304#M1006804</guid>
      <dc:creator>linusblomberg</dc:creator>
      <dc:date>2015-05-12T09:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Linking Budget data to Fact table</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-Budget-data-to-Fact-table/m-p/840305#M1006805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a Month Field in your Fact Table named MonthName&lt;/P&gt;&lt;P&gt;Month(DateField) as MonthName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use below code from BudgetTable&lt;/P&gt;&lt;P&gt;TempBudget:&lt;/P&gt;&lt;P&gt;CrossTable(TempMonth,BudgetValue,2)&lt;/P&gt;&lt;P&gt;Load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; Item Code, Item Desc, M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12&lt;/P&gt;&lt;P&gt;&amp;nbsp; A1, Tiles, 12, 143, 56, 780, 623, 71, 64, 78, 54, 54, 81,10&lt;/P&gt;&lt;P&gt;&amp;nbsp; A2, Geyser, 15, 154, 543, 721, 643, 64, 87, 09, 987, 09, 76,43&lt;/P&gt;&lt;P&gt;&amp;nbsp; A3, Taps, 19, 15, 182, 765, 661, 71, 63, 87, 909, 81, 91,61&lt;/P&gt;&lt;P&gt;&amp;nbsp; A4,Mixers, 81, 151, 55, 81, 451, 61, 71, 61, 41, 51, 85,98&lt;/P&gt;&lt;P&gt;&amp;nbsp; A5, Tubs, 15, 154, 543, 721, 643, 64, 87, 09, 987, 09, 76,43&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Budget:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; SubField('$(MonthNames)',';',MonthNum) as MonthName;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Num(KeepChar(TempMonth,'0123456789')) as MonthNum&lt;/P&gt;&lt;P&gt;Resident TempBudget;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table TempBudget;&lt;/P&gt;&lt;P&gt;Drop Field TempMonth;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 09:09:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-Budget-data-to-Fact-table/m-p/840305#M1006805</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-05-12T09:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Linking Budget data to Fact table</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-Budget-data-to-Fact-table/m-p/840306#M1006806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys, Cross Table works perfectly&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 09:25:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-Budget-data-to-Fact-table/m-p/840306#M1006806</guid>
      <dc:creator />
      <dc:date>2015-05-12T09:25:06Z</dc:date>
    </item>
  </channel>
</rss>

