<?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 Expense Management Hiearchy in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expense-Management-Hiearchy/m-p/1054731#M932765</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 am trying to create a dashboard for elemental level of expenses for products.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 excel tables: Cost center mapping table, account line mapping table and the actual data set that needs to be pivoted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both of the cost center mapping table have up to 10 hiearchys. The way I have it is level 1 is column A, level 2 is column B ... etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My data set is pulled at the lowest level for cost center and account lines. I need to make a dashboard that can map and sum these lowest level hiarchys to level 2 or 3 of the cost center and account lines.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Feb 2016 22:57:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-02-29T22:57:26Z</dc:date>
    <item>
      <title>Expense Management Hiearchy</title>
      <link>https://community.qlik.com/t5/QlikView/Expense-Management-Hiearchy/m-p/1054731#M932765</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 am trying to create a dashboard for elemental level of expenses for products.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 excel tables: Cost center mapping table, account line mapping table and the actual data set that needs to be pivoted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both of the cost center mapping table have up to 10 hiearchys. The way I have it is level 1 is column A, level 2 is column B ... etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My data set is pulled at the lowest level for cost center and account lines. I need to make a dashboard that can map and sum these lowest level hiarchys to level 2 or 3 of the cost center and account lines.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 22:57:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expense-Management-Hiearchy/m-p/1054731#M932765</guid>
      <dc:creator />
      <dc:date>2016-02-29T22:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Expense Management Hiearchy</title>
      <link>https://community.qlik.com/t5/QlikView/Expense-Management-Hiearchy/m-p/1054732#M932766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you say level 1 is column A, level 2 is column B, etc., I picture a data model something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Level 1, Level 2, Level 3, Level 4, ..., Amount&lt;BR /&gt;XXX, YYY, ZZZ, 000, ... , $500&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, and you want to sum to level 2 or 3, just put the levels you want to sum to in your chart, and use sum(Amount), say, as your expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm pretty sure I've misunderstood, though. If so, can you show briefly what your data model looks like and what you want your chart to look like?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 00:21:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expense-Management-Hiearchy/m-p/1054732#M932766</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-03-01T00:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Expense Management Hiearchy</title>
      <link>https://community.qlik.com/t5/QlikView/Expense-Management-Hiearchy/m-p/1054733#M932767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok So here's my thought process behind it, but maybe I'm building my tables wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll have an 2 Hiearchy Mapping tables. One is for account level and the other is for CostCenter level. These 2 mapping tables are basically static, unless the hierarchy changes. Then, I have a data dump of 2014 expenses and 2015 expenses in it's lowest cost center and account line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to build a summary view in a dashboard of our level 2 expenses and be able to drill down farther in account hierarchy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My account hierarchy mapping table looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Level 1,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Level 2,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Level 3&amp;nbsp; ..... Level n+1&lt;/P&gt;&lt;P&gt;Non-Interest Expense, Total Comp,&lt;/P&gt;&lt;P&gt;Non-Interest Expense, Total Comp,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Salaries&lt;/P&gt;&lt;P&gt;Non-Interest Expense, Total Comp,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Salaries,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Full-Time&lt;/P&gt;&lt;P&gt;Non-Interest Expense, Total Comp,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Salaries,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Part-Time&lt;/P&gt;&lt;P&gt;Non-Interest Expense, Total Comp,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Benefits&lt;/P&gt;&lt;P&gt;Non-Interest Expense, Total Non-Comp, Sales &amp;amp; Mktg, Sales,&lt;/P&gt;&lt;P&gt;Non-Interest Expense, Total Non-Comp, Sales &amp;amp; Mktg, Marketing,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The cost-center mapping table is built the same way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Data dump is set up like this and the account and cost-center is in it's lowest level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Account Level, Cost-Center Level, 2014 Expenses, 2015 Expenses&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in my dashboard, I'd like to see something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filter:&lt;/P&gt;&lt;P&gt;Product&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014 Expenses&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2015 Expenses&lt;/P&gt;&lt;P&gt;Non-Interest Expense&lt;/P&gt;&lt;P&gt; Total Comp&lt;/P&gt;&lt;P&gt;&amp;nbsp; Salaries&lt;/P&gt;&lt;P&gt;&amp;nbsp; Benefits&lt;/P&gt;&lt;P&gt; Total Non-Comp&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sales&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Marketing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I want to be able to drill into the Salaries, if I need to.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 14:02:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expense-Management-Hiearchy/m-p/1054733#M932767</guid>
      <dc:creator />
      <dc:date>2016-03-01T14:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Expense Management Hiearchy</title>
      <link>https://community.qlik.com/t5/QlikView/Expense-Management-Hiearchy/m-p/1054734#M932768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is one approach. The inline loads at the start are assumed to be what your raw data source looks like, then I transform that data into a format I think would be more useful for you, and drop the original tables. Hopefully I've understood your data and your needs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 02:25:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expense-Management-Hiearchy/m-p/1054734#M932768</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-03-02T02:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Expense Management Hiearchy</title>
      <link>https://community.qlik.com/t5/QlikView/Expense-Management-Hiearchy/m-p/1054735#M932769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question on your code below. Since their are different level of hierarchy, is the code below fixes that the lowest level might be on different levels?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;trim&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CC2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CC2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CC1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CC2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; ,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;trim&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CC3&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CC3&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;trim&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CC2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CC2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CC1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Cost Center] &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 14:40:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expense-Management-Hiearchy/m-p/1054735#M932769</guid>
      <dc:creator />
      <dc:date>2016-03-02T14:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Expense Management Hiearchy</title>
      <link>https://community.qlik.com/t5/QlikView/Expense-Management-Hiearchy/m-p/1054736#M932770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that's the idea - to put the lowest level always at the same level, so that it can be one field, so that your main data table will link automatically to that one field. I suspect there's a more clever way to write that piece, as it will be cumbersome for ten levels, but that was the idea. There may be a better way to handle the hierarchy itself. If so, I'd like to know about it, as this is how I've handled similar requirements in several applications. Actually, in my applications, the hierarchy has always been simple enough with few enough levels that I just coded it in an inline table, including the extended levels, and called it good enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And overnight I thought it would be nice to put 'Other ' in front of the Account or Cost Center when extending down to the lowest level, so that we'd see 'Other Total Comp', say, if the raw data used 'Total Comp' as the account. See attached if that's something that you think would be an improvement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 17:02:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expense-Management-Hiearchy/m-p/1054736#M932770</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-03-02T17:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Expense Management Hiearchy</title>
      <link>https://community.qlik.com/t5/QlikView/Expense-Management-Hiearchy/m-p/1054737#M932771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A different approach is attached. I don't think I've ever used the Hierarchy or HierarchyBelongsTo statements in a real application, but I thought I'd give them a go. I had to fiddle a little with the raw data. It would have been easier if I'd just changed the raw data to an adjacent node list, but it seemed like that wasn't what you had as data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One downside is that instead of filling in the missing nodes in the expanded hieararchy, it just gives you null, but at least it still links up properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One upside is that we can set up an Account Total field. If you just make selections in the Account, it only shows you data directly associated with that account. But if you make selections in the Account Total field, it shows you all data at that point and below in the hierarchy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone with more experience using Hierarchy and HierarchyBelongs might do a better job of this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 19:35:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expense-Management-Hiearchy/m-p/1054737#M932771</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-03-02T19:35:20Z</dc:date>
    </item>
  </channel>
</rss>

