<?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 Query a target value on an expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Query-a-target-value-on-an-expression/m-p/166897#M38670</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After some head scratching i got the obvious solution.&lt;/P&gt;&lt;P&gt;I had only one category table with category, group and sub-group. So i separated it on three tables, one for category, one for group and one for subgroup. This way it was easy to link the sales target by category table to the category table.&lt;/P&gt;&lt;P&gt;So obvious... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Too much QlikView on one week does this.. hehe&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Mar 2011 00:24:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-03-18T00:24:23Z</dc:date>
    <item>
      <title>Query a target value on an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Query-a-target-value-on-an-expression/m-p/166894#M38667</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'm in trouble! help me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have a fact table that contains sales information that goes at the product level and this table is linked with a Category table which has product Category -&amp;gt; Group -&amp;gt; Sub Group.&lt;/P&gt;&lt;P&gt;The fact table links with the Category table with the Sub Group code (each product has a sub group).&lt;/P&gt;&lt;P&gt;The problem is i have a sales target table that has the sales target for the Category, it does not have the sales target for Group and SubGroup, so i cannot SUM by subgroup to display the data.&lt;/P&gt;&lt;P&gt;For example, if i would show a table that contains the following columns:&lt;/P&gt;&lt;P&gt;Product Category (Aggregation) | Sales | Sales Target&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can I do to show the Sales Target? Since the fact table is always filtered by SubGroup, i cannot just CONCATENATE and SUM it because the sales target does not have the subgroup information. I would have to query the Sales Target on the fly, i guess. I just do not know how.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 14:49:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-a-target-value-on-an-expression/m-p/166894#M38667</guid>
      <dc:creator />
      <dc:date>2011-03-17T14:49:04Z</dc:date>
    </item>
    <item>
      <title>Query a target value on an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Query-a-target-value-on-an-expression/m-p/166895#M38668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Important:&lt;/P&gt;&lt;P&gt;I cannot do this in a separate table, because the sales target is also divided by Store and Date and those two tables links with the Fact. If i separate it in two Facts it would do a ciclic relation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 14:56:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-a-target-value-on-an-expression/m-p/166895#M38668</guid>
      <dc:creator />
      <dc:date>2011-03-17T14:56:02Z</dc:date>
    </item>
    <item>
      <title>Query a target value on an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Query-a-target-value-on-an-expression/m-p/166896#M38669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you have tables like this?&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;salesfacts:&lt;BR /&gt;product, subgroup, sales, store, date&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;categories:&lt;BR /&gt;category, group, subgroup&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;salestargets:&lt;BR /&gt;category, target, store, date&lt;/P&gt;&lt;P&gt;Hmmm, no, because that already has a circular reference problem. So I guess I'm not sure what your data currently looks like.&lt;/P&gt;&lt;P&gt;Can you give some example data, and what sort of results you're looking for for that example data? Ideally, post a sample QlikView file with that data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 22:36:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-a-target-value-on-an-expression/m-p/166896#M38669</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-03-17T22:36:29Z</dc:date>
    </item>
    <item>
      <title>Query a target value on an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Query-a-target-value-on-an-expression/m-p/166897#M38670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After some head scratching i got the obvious solution.&lt;/P&gt;&lt;P&gt;I had only one category table with category, group and sub-group. So i separated it on three tables, one for category, one for group and one for subgroup. This way it was easy to link the sales target by category table to the category table.&lt;/P&gt;&lt;P&gt;So obvious... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Too much QlikView on one week does this.. hehe&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 00:24:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-a-target-value-on-an-expression/m-p/166897#M38670</guid>
      <dc:creator />
      <dc:date>2011-03-18T00:24:23Z</dc:date>
    </item>
  </channel>
</rss>

