<?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 Hierarchy Mapping in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hierarchy-Mapping/m-p/2457164#M1225723</link>
    <description>&lt;P&gt;Hello.&amp;nbsp; My company is planning on shifting it's reporting to QLIK and I'm trying to figure out the best way to utilize the P&amp;amp;L Visualization tool to recreate most of the financial reports.&amp;nbsp; I wanted to check with you guys regarding the best practice for leveraging this tool.&amp;nbsp; Please note - the financial rollups are not in our ERP so they will have to be recreated.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Measure #1 - GL Mapping&lt;/P&gt;
&lt;P&gt;The GL Mapping will just be a long series of IF statements outlining what accounts roll up into what bucket.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example: Depreciation is account 7000:7020 and NI is 3999 to 9999 so I'd write a formula like&lt;/P&gt;
&lt;P&gt;If([GL] &amp;gt; 6999 and [GL] &amp;lt; 7021,'Depreciation',&lt;/P&gt;
&lt;P&gt;If([GL] &amp;gt; 3998 and [GL] &amp;lt; 10000,'Net Income',&lt;/P&gt;
&lt;P&gt;etc etc&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This would be the first layer.&amp;nbsp; However, we have a lot of subheaders so I'd add in a second measure to add in the rollup accounts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Measure #2 - GL Rollup&lt;/P&gt;
&lt;P&gt;If([GL Mapping] = 'Net Income' or [GL Mapping] = 'Depreciation', 'Net Cash From Ops',&lt;/P&gt;
&lt;P&gt;If([GL] &amp;gt; 6999 and [GL] &amp;lt; 7021,'Depreciation',&lt;/P&gt;
&lt;P&gt;If([GL] &amp;gt; 3998 and [GL] &amp;lt; 10000,'Net Income',&lt;/P&gt;
&lt;P&gt;etc..&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;This should get me all the accounts.&amp;nbsp; I will probably need a few more measures to order this.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Measure #3 - Sum Logic&lt;/P&gt;
&lt;P&gt;I would rewrite the last measure but this time I'm focusing on the SUM function,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If([GL Rollup] = 'Net Cash From Ops', SUM(...)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This seems like it would work.&amp;nbsp; However, this doesn't seem like the best way to do this.&amp;nbsp; Additionally, I could see it being confusing to anyone not named me.&amp;nbsp; I wanted to check with you guys to see if you had any thoughts of a more efficient process.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 May 2024 17:36:13 GMT</pubDate>
    <dc:creator>dyee4613</dc:creator>
    <dc:date>2024-05-28T17:36:13Z</dc:date>
    <item>
      <title>Hierarchy Mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-Mapping/m-p/2457164#M1225723</link>
      <description>&lt;P&gt;Hello.&amp;nbsp; My company is planning on shifting it's reporting to QLIK and I'm trying to figure out the best way to utilize the P&amp;amp;L Visualization tool to recreate most of the financial reports.&amp;nbsp; I wanted to check with you guys regarding the best practice for leveraging this tool.&amp;nbsp; Please note - the financial rollups are not in our ERP so they will have to be recreated.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Measure #1 - GL Mapping&lt;/P&gt;
&lt;P&gt;The GL Mapping will just be a long series of IF statements outlining what accounts roll up into what bucket.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example: Depreciation is account 7000:7020 and NI is 3999 to 9999 so I'd write a formula like&lt;/P&gt;
&lt;P&gt;If([GL] &amp;gt; 6999 and [GL] &amp;lt; 7021,'Depreciation',&lt;/P&gt;
&lt;P&gt;If([GL] &amp;gt; 3998 and [GL] &amp;lt; 10000,'Net Income',&lt;/P&gt;
&lt;P&gt;etc etc&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This would be the first layer.&amp;nbsp; However, we have a lot of subheaders so I'd add in a second measure to add in the rollup accounts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Measure #2 - GL Rollup&lt;/P&gt;
&lt;P&gt;If([GL Mapping] = 'Net Income' or [GL Mapping] = 'Depreciation', 'Net Cash From Ops',&lt;/P&gt;
&lt;P&gt;If([GL] &amp;gt; 6999 and [GL] &amp;lt; 7021,'Depreciation',&lt;/P&gt;
&lt;P&gt;If([GL] &amp;gt; 3998 and [GL] &amp;lt; 10000,'Net Income',&lt;/P&gt;
&lt;P&gt;etc..&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;This should get me all the accounts.&amp;nbsp; I will probably need a few more measures to order this.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Measure #3 - Sum Logic&lt;/P&gt;
&lt;P&gt;I would rewrite the last measure but this time I'm focusing on the SUM function,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If([GL Rollup] = 'Net Cash From Ops', SUM(...)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This seems like it would work.&amp;nbsp; However, this doesn't seem like the best way to do this.&amp;nbsp; Additionally, I could see it being confusing to anyone not named me.&amp;nbsp; I wanted to check with you guys to see if you had any thoughts of a more efficient process.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2024 17:36:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-Mapping/m-p/2457164#M1225723</guid>
      <dc:creator>dyee4613</dc:creator>
      <dc:date>2024-05-28T17:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy Mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-Mapping/m-p/2457172#M1225724</link>
      <description>&lt;P&gt;Update - I created the calculated dimension.&amp;nbsp; I was planning on creating a measure using the calculated dimension and a set analysis.&amp;nbsp; However, I don't see the ability to reference my original calculated dimension.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think I was making this too complicated, though.&amp;nbsp; I'm going to upload a table with the fields I want in excel then I'll just create measure using set analysis or whatever it's called to create the line level logic.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2024 20:37:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-Mapping/m-p/2457172#M1225724</guid>
      <dc:creator>dyee4613</dc:creator>
      <dc:date>2024-05-28T20:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy Mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-Mapping/m-p/2457446#M1225729</link>
      <description>&lt;P&gt;I suggest to create an appropriate dimension-table which includes all needed layer and intermediate states&amp;nbsp; and/or overlapping parts.&lt;/P&gt;
&lt;P&gt;Such table might be created with n mappings and/or loops, like:&lt;/P&gt;
&lt;P&gt;t: load * inline [&lt;BR /&gt;GL from, GL to, Desc&lt;BR /&gt;6999, 7021,&amp;nbsp;&lt;SPAN&gt;Depreciation&lt;/SPAN&gt;&lt;BR /&gt;7021, 9999, xyz&lt;BR /&gt;] while [GL from] + iterno() - 1 &amp;lt;= [GL to];&lt;/P&gt;
&lt;P&gt;Even an Excel table with a lot of simple entries and copy &amp;amp; paste stuff would be possible and faster and more expedient as hard-coding all matching within n nested if-loops.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2024 12:07:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-Mapping/m-p/2457446#M1225729</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-05-29T12:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy Mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-Mapping/m-p/2457585#M1225732</link>
      <description>&lt;P&gt;I had the same idea and I think it's working.&amp;nbsp; Thank you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;I have two more questions:&lt;/P&gt;
&lt;P&gt;Question #1: SOLVED&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Question #2:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I make the value field larger?&amp;nbsp; I have to hover over to see it.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dyee4613_0-1716999903337.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/167073iA7286C98C8A8E707/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dyee4613_0-1716999903337.png" alt="dyee4613_0-1716999903337.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Question #3: While doing my hierarchy, it's too difficult to write down each line of code.&amp;nbsp; I'm going to want to switch it to variables.&amp;nbsp; I tried to create a variable and input it into my set analysis but I failed.&amp;nbsp; Can someone help me out?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to create a variable called vOutsideSales which represents the following set analysis code.&lt;/P&gt;
&lt;P&gt;Sum({$&amp;lt; Object = {"&amp;gt;=4020&amp;lt;=4025","&amp;gt;=4160&amp;lt;=4168","&amp;gt;=4320&amp;lt;=4321","4380","4436"},[BU Category Code 21 - Code]= {"2000"}&amp;gt;}[Trans Amount]),&lt;/P&gt;
&lt;P&gt;Also, please tell me the syntax using the variable within the set analysis.&amp;nbsp; Is it&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sum({$&amp;lt; vOutsideSales&amp;gt;}[Trans Amount])&lt;/P&gt;
&lt;P&gt;?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2024 18:02:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-Mapping/m-p/2457585#M1225732</guid>
      <dc:creator>dyee4613</dc:creator>
      <dc:date>2024-05-29T18:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy Mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-Mapping/m-p/2457850#M1225736</link>
      <description>&lt;P&gt;Normally the objects are adjusting itself in regard to the available screen. Maybe any setting of this object is wrong. You may look through the settings or just creating a new one.&lt;/P&gt;
&lt;P&gt;Your hierarchy isn't really suitable for a P&amp;amp;L, yet. The aim should be to avoid all hard-coded stuff within the script as well as within the UI which means that the UI expression just looked like: sum(FIELD) and all logic is transferred to the dimensional layers.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 12:58:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-Mapping/m-p/2457850#M1225736</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-05-30T12:58:24Z</dc:date>
    </item>
  </channel>
</rss>

