<?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 connecting a crosstable and a hierarchy? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/connecting-a-crosstable-and-a-hierarchy/m-p/170419#M40849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi not very sure whether this will click or not.... but possibly what you can do is load the fields(Item1,Item2 ,Item3 etc.) from the first table. Then in the script Union all these fields so that you get a single field with all Items like 1,2,6,7,8,9 etc(assuming that item values is unique). I am calling this field as All_Item.&lt;/P&gt;&lt;P&gt;Then you can load the fields from 2nd table and can join to the first table on All_Item to the 2nd table on Item_value. In this way you will get item label for each of the item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 22 Aug 2010 21:21:05 GMT</pubDate>
    <dc:creator>montubhardwaj</dc:creator>
    <dc:date>2010-08-22T21:21:05Z</dc:date>
    <item>
      <title>connecting a crosstable and a hierarchy?</title>
      <link>https://community.qlik.com/t5/QlikView/connecting-a-crosstable-and-a-hierarchy/m-p/170418#M40848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have 2 tables. The first contains a kind of raw report where many items are documented. Each Item can have several values, i.e.(see first table in picture):&lt;/P&gt;&lt;P&gt;Caller 222 reports a "2" under Item1, caller 333 reports a "1".&lt;/P&gt;&lt;P&gt;The meaning (the semantic so to say) of the item content (I call them "values") is defined in another table (see the second).&lt;/P&gt;&lt;P&gt;&lt;IMG src="file:/Users/snoman/Library/Caches/TemporaryItems/moz-screenshot.png" /&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-2190_sourceID:2190" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I've done so far:&lt;/P&gt;&lt;P&gt;a.) loading the first table as a crosstable:&lt;/P&gt;&lt;P&gt;crosstble (Items, ItemValue, 5)&lt;BR /&gt;load *&lt;/P&gt;&lt;P&gt;from foobar.xls&lt;BR /&gt;(...);&lt;/P&gt;&lt;P&gt;b) loading the table with all the definitions as a hierarchy:&lt;BR /&gt;hierarchy ( IdemID, Item_Value, Item_label, ...)&lt;BR /&gt;&lt;BR /&gt;load&lt;/P&gt;&lt;P&gt;ItemID,&lt;BR /&gt;item_value,&lt;BR /&gt;item_label&lt;/P&gt;&lt;P&gt;from&lt;BR /&gt;whatever.xls&lt;BR /&gt;...&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;What I need: a good idea who to connect the itemvalues from the crosstable with item_value of the hierarchy so that I can get the item_labels&lt;/P&gt;&lt;P&gt;Thanks for any hint.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;snoman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Aug 2010 21:05:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/connecting-a-crosstable-and-a-hierarchy/m-p/170418#M40848</guid>
      <dc:creator>obmk</dc:creator>
      <dc:date>2010-08-22T21:05:55Z</dc:date>
    </item>
    <item>
      <title>connecting a crosstable and a hierarchy?</title>
      <link>https://community.qlik.com/t5/QlikView/connecting-a-crosstable-and-a-hierarchy/m-p/170419#M40849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi not very sure whether this will click or not.... but possibly what you can do is load the fields(Item1,Item2 ,Item3 etc.) from the first table. Then in the script Union all these fields so that you get a single field with all Items like 1,2,6,7,8,9 etc(assuming that item values is unique). I am calling this field as All_Item.&lt;/P&gt;&lt;P&gt;Then you can load the fields from 2nd table and can join to the first table on All_Item to the 2nd table on Item_value. In this way you will get item label for each of the item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Aug 2010 21:21:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/connecting-a-crosstable-and-a-hierarchy/m-p/170419#M40849</guid>
      <dc:creator>montubhardwaj</dc:creator>
      <dc:date>2010-08-22T21:21:05Z</dc:date>
    </item>
    <item>
      <title>AW:Re: connecting a crosstable and a hierarchy?</title>
      <link>https://community.qlik.com/t5/QlikView/connecting-a-crosstable-and-a-hierarchy/m-p/170420#M40850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick answer. Really sounds like a way to get access to the labels. I will try that today but I must confess I'd prefer a solution within the crosstable/hierarchy construct or perhaps setting up an aditional table to connect the two tables by the temIDs... ore something like that. I already had a first look to the hierarchybelongsto command but if I got it right there is no way to set a field from another table as the parentID... &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Aug 2010 23:35:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/connecting-a-crosstable-and-a-hierarchy/m-p/170420#M40850</guid>
      <dc:creator>obmk</dc:creator>
      <dc:date>2010-08-22T23:35:58Z</dc:date>
    </item>
  </channel>
</rss>

