<?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 List Box question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hierarchy-List-Box-question/m-p/220581#M73485</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was thinking about something like that because that would give me all the children, but in that scenario the parents would show up in the list box as greyed out entries that you can't select. I'd like to also include parents that have children - only excluding parents without children. Do you think we could also do this in the expression list box?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Apr 2011 21:58:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-21T21:58:17Z</dc:date>
    <item>
      <title>Hierarchy List Box question</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-List-Box-question/m-p/220578#M73482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am wondering if in a tree-view hierarchical list box it is possible to exclude parents with no children. So I would like to see the entries that "roll up" and aggregate with a plus sign on the left (and all of their children) but not see entries which do not "roll up". Is that possible?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2011 16:25:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-List-Box-question/m-p/220578#M73482</guid>
      <dc:creator />
      <dc:date>2011-04-18T16:25:34Z</dc:date>
    </item>
    <item>
      <title>Hierarchy List Box question</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-List-Box-question/m-p/220579#M73483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone have an idea here? Or a work around?&lt;/P&gt;&lt;P&gt;If not, can we make the entries that have children appear at the top? I think I've seen that somewhere.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2011 19:17:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-List-Box-question/m-p/220579#M73483</guid>
      <dc:creator />
      <dc:date>2011-04-19T19:17:50Z</dc:date>
    </item>
    <item>
      <title>Hierarchy List Box question</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-List-Box-question/m-p/220580#M73484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try something like this.&lt;/P&gt;&lt;P&gt;Create a list box with the expression editor to limit the values you want to see.&lt;/P&gt;&lt;P&gt;YourField and whatever your separator is are the important pieces here. I'm using the underscore as my separator in my example. The FindOneOf function will return the number of times it found your separator in YourField. So if you use the if statement to check if your returned value is greater than zero, either return your value or a null value.&lt;/P&gt;&lt;P&gt;=If(FindOneOf( YourField, '_')&amp;gt;0, YourField, Null())&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Oscar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 05:08:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-List-Box-question/m-p/220580#M73484</guid>
      <dc:creator>oscar_ortiz</dc:creator>
      <dc:date>2011-04-20T05:08:20Z</dc:date>
    </item>
    <item>
      <title>Hierarchy List Box question</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-List-Box-question/m-p/220581#M73485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was thinking about something like that because that would give me all the children, but in that scenario the parents would show up in the list box as greyed out entries that you can't select. I'd like to also include parents that have children - only excluding parents without children. Do you think we could also do this in the expression list box?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2011 21:58:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-List-Box-question/m-p/220581#M73485</guid>
      <dc:creator />
      <dc:date>2011-04-21T21:58:17Z</dc:date>
    </item>
    <item>
      <title>Hierarchy List Box question</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-List-Box-question/m-p/220582#M73486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you include a sample of your data for your list box?&lt;/P&gt;&lt;P&gt;I was going under the assumption that your data would include separators between the parts. In my example I was using "_" the underscore as my separator.&lt;/P&gt;&lt;P&gt;So if I'm looking at the following data:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;Test&lt;/P&gt;&lt;P&gt;13_465_789_XYZ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;456_123_798_MNB&lt;/P&gt;&lt;P&gt;ABC&lt;/P&gt;&lt;P&gt;789_321&lt;/P&gt;&lt;P&gt;987&lt;/P&gt;&lt;DIV&gt;];&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;"ABC" and "987" are not going to show in my list box because of the expression created.&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2011 22:29:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-List-Box-question/m-p/220582#M73486</guid>
      <dc:creator>oscar_ortiz</dc:creator>
      <dc:date>2011-04-21T22:29:40Z</dc:date>
    </item>
    <item>
      <title>Hierarchy List Box question</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-List-Box-question/m-p/220583#M73487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My scenario is something more like:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Test&lt;/P&gt;&lt;P&gt;Parent1&lt;/P&gt;&lt;P&gt;Parent1_ChildMike&lt;/P&gt;&lt;P&gt;Parent1_ChildBob&lt;/P&gt;&lt;P&gt;Parent2&lt;/P&gt;&lt;P&gt;Parent3&lt;/P&gt;&lt;P&gt;Parent3_ChildRay&lt;/P&gt;&lt;P&gt;Parent4&lt;/P&gt;&lt;P&gt;Parent5&lt;/P&gt;&lt;P&gt;Parent5_ChildKate&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in a hierarchy list box with _ as the separator and the findoneof function, Parent4 and Parent2 would be excluded properly, but Parents 1, 3, and 5, would also be excluded. To be specific, they would show up in the list box but be greyed out and not selectable (as shown below). I am trying to find a way to exclude parents 2 and 4 but keep parents 1, 3, and 5 and all of their children.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/2705.HierarchyLB.png"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/2705.HierarchyLB.png" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 15:00:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-List-Box-question/m-p/220583#M73487</guid>
      <dc:creator />
      <dc:date>2011-04-25T15:00:39Z</dc:date>
    </item>
    <item>
      <title>Hierarchy List Box question</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-List-Box-question/m-p/220584#M73488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With the tree view on the list box the results you are currently getting is what's expected. The children are still related to the parent. Just that you cannot select the parent. If you need to select the parent, you can use the subfield function to extract and separate the parent and child as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Test&lt;/P&gt;&lt;P&gt;Parent1&lt;/P&gt;&lt;P&gt;Parent1_ChildMike&lt;/P&gt;&lt;P&gt;Parent1_ChildBob&lt;/P&gt;&lt;P&gt;Parent2&lt;/P&gt;&lt;P&gt;Parent3&lt;/P&gt;&lt;P&gt;Parent3_ChildRay&lt;/P&gt;&lt;P&gt;Parent4&lt;/P&gt;&lt;P&gt;Parent5&lt;/P&gt;&lt;P&gt;Parent5_ChildKate&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;subfield(Test, '_', 1) as Parent,&lt;/P&gt;&lt;P&gt;subfield(Test, '_', 2) as Child,&lt;/P&gt;&lt;P&gt;Test&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;T&lt;/P&gt;&lt;P&gt;Where&lt;/P&gt;&lt;P&gt;FindOneOf(Test, '_') &amp;gt; 0&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully this is what you're looking to do.&lt;/P&gt;&lt;P&gt;The where clause is optional. You can then create list boxes for your parent and child.&lt;/P&gt;&lt;P&gt;Oscar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 19:01:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-List-Box-question/m-p/220584#M73488</guid>
      <dc:creator>oscar_ortiz</dc:creator>
      <dc:date>2011-04-26T19:01:42Z</dc:date>
    </item>
    <item>
      <title>Hierarchy List Box question</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-List-Box-question/m-p/220585#M73489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;go through this sample application it will help u&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sampath Kumar . G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 06:23:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-List-Box-question/m-p/220585#M73489</guid>
      <dc:creator />
      <dc:date>2011-04-27T06:23:40Z</dc:date>
    </item>
    <item>
      <title>Hierarchy List Box question</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-List-Box-question/m-p/220586#M73490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have edited your QVW and re-attached it. I included a parent with no children, "AParentNoChild". My question is how to exclude this person from the ReportsPath list box, or if that is possible. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 20:12:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-List-Box-question/m-p/220586#M73490</guid>
      <dc:creator />
      <dc:date>2011-04-27T20:12:46Z</dc:date>
    </item>
  </channel>
</rss>

