<?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: Sub Accounts in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sub-Accounts/m-p/489901#M183074</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;It depends on what you want to achieve. The term 'to work with' is too broad to talk about the best practice. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the sum and hierarchy for pivoting is the only intention you could create two fields &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;left(account_num,1)&amp;nbsp; and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;left(account_num,3) in addition considering them as account and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sub account group&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are differet tasks and different ways to handle hierarchy structures.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Sep 2013 19:34:05 GMT</pubDate>
    <dc:creator>whiteline</dc:creator>
    <dc:date>2013-09-06T19:34:05Z</dc:date>
    <item>
      <title>Sub Accounts</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Accounts/m-p/489900#M183073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Folks - Please your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's the best practice when I have to work with sub accounts.&lt;/P&gt;&lt;P&gt;For instance:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the account '3.0.1' actually means the sum of all the accounts below whats your recommendation ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that I could use left(account_num,5) = '3.0.1' - But there's any best method to do this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vinicius Siqueira&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 20:34:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Accounts/m-p/489900#M183073</guid>
      <dc:creator>vinicius_siquei</dc:creator>
      <dc:date>2013-09-05T20:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sub Accounts</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Accounts/m-p/489901#M183074</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;It depends on what you want to achieve. The term 'to work with' is too broad to talk about the best practice. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the sum and hierarchy for pivoting is the only intention you could create two fields &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;left(account_num,1)&amp;nbsp; and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;left(account_num,3) in addition considering them as account and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sub account group&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are differet tasks and different ways to handle hierarchy structures.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2013 19:34:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Accounts/m-p/489901#M183074</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2013-09-06T19:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sub Accounts</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Accounts/m-p/489902#M183075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, my intention is for instance,&amp;nbsp; to sum from account 3.00.01 to 3.00.06.&lt;/P&gt;&lt;P&gt;What I would like to have is some intelligent way to go through these accounts.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Your suggestion to create levels of account is very interesting. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;There's any other way? &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 03:24:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Accounts/m-p/489902#M183075</guid>
      <dc:creator>vinicius_siquei</dc:creator>
      <dc:date>2013-09-12T03:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sub Accounts</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Accounts/m-p/489903#M183076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you can try something like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subfield(Account_num, &lt;STRONG&gt;'.'&lt;/STRONG&gt; , 1) as ParentAcc&lt;/P&gt;&lt;P&gt;Subfield(Account_num, &lt;STRONG&gt;'.'&lt;/STRONG&gt; , 2) as Child1&lt;/P&gt;&lt;P&gt;Subfield(Account_num, &lt;STRONG&gt;'.'&lt;/STRONG&gt; , 3) as Child2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 04:09:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Accounts/m-p/489903#M183076</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-09-12T04:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sub Accounts</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Accounts/m-p/489904#M183077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree that group hierarchy is the way to go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so you could name each section of your account code differently and split them in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD INLINE *[&lt;/P&gt;&lt;P&gt;Group&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , SubGroup,LowestGroup&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,00&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; ,01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .00&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; .06&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 04:13:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Accounts/m-p/489904#M183077</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-12T04:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sub Accounts</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Accounts/m-p/489905#M183078</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;Another example is a bit more complex. You create different dimentions for each level but also add records for each node (account and top subaccount) with empty values for childs. Suppose that each string has a unique id. It allows you to connect the hierarchy with facts that have different level of aggregation. For example planning facts and sales facts. And show them together in one pivot for comparison.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 08:19:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Accounts/m-p/489905#M183078</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2013-09-12T08:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sub Accounts</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Accounts/m-p/489906#M183079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very Good!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 14:36:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Accounts/m-p/489906#M183079</guid>
      <dc:creator>vinicius_siquei</dc:creator>
      <dc:date>2013-09-12T14:36:07Z</dc:date>
    </item>
  </channel>
</rss>

