<?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 Charts &amp; Data Model in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Charts-Data-Model/m-p/511531#M191114</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 need some guidance with the following.&amp;nbsp; In the app I am working on I have a Client dimension linked to a fact table of metrics. The problem is I also have the Industry average in the client dimension linked to the same fact table within metrics.&amp;nbsp; For example, the Client dimension has, Client A, Client B, Client C &amp;amp; Industry Avg.&amp;nbsp;&amp;nbsp; Generally, you calculate the Avg of the clients within the charts instead of it been pre-calculated, but this how the customer needs it for now.&amp;nbsp;&amp;nbsp;&amp;nbsp; How do I handle this is charts and trends where the customers wants to do comparisons of a single or multiple clients to the client average when clicking on a client?&amp;nbsp; The only way I can think of is to pull the client average dimension and metrics into a separate table within the data model. Are they better ways to do this?&amp;nbsp; Attached is visual example of what I am referring to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Oct 2013 12:12:50 GMT</pubDate>
    <dc:creator>regowins</dc:creator>
    <dc:date>2013-10-23T12:12:50Z</dc:date>
    <item>
      <title>Charts &amp; Data Model</title>
      <link>https://community.qlik.com/t5/QlikView/Charts-Data-Model/m-p/511531#M191114</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 need some guidance with the following.&amp;nbsp; In the app I am working on I have a Client dimension linked to a fact table of metrics. The problem is I also have the Industry average in the client dimension linked to the same fact table within metrics.&amp;nbsp; For example, the Client dimension has, Client A, Client B, Client C &amp;amp; Industry Avg.&amp;nbsp;&amp;nbsp; Generally, you calculate the Avg of the clients within the charts instead of it been pre-calculated, but this how the customer needs it for now.&amp;nbsp;&amp;nbsp;&amp;nbsp; How do I handle this is charts and trends where the customers wants to do comparisons of a single or multiple clients to the client average when clicking on a client?&amp;nbsp; The only way I can think of is to pull the client average dimension and metrics into a separate table within the data model. Are they better ways to do this?&amp;nbsp; Attached is visual example of what I am referring to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 12:12:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Charts-Data-Model/m-p/511531#M191114</guid>
      <dc:creator>regowins</dc:creator>
      <dc:date>2013-10-23T12:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Charts &amp; Data Model</title>
      <link>https://community.qlik.com/t5/QlikView/Charts-Data-Model/m-p/511532#M191115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not really sure if I understand your problem correctly, but I think the very correct method is to calculate "Industry Avg" using expression instead of pre-calculate it - as you said. &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;But if client really sticks to idea of pre-calculating this value, you can use the "Industry avg" as a member of Client dimension as long as the value for this member is in fact table - as it is normal client...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...BUT you must remember that this will cause problems f.e. with aggregating values on Client dimension - the "Industry avg" value will be added to f.e. sum of sales for all clients if you don't exclude it in expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think for the most correct solution you should use 3 tables - one for client dimension, one for analytics dimension (simple value, avg etc.) and one for fact table (with id of client, id of analytics and value).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 12:56:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Charts-Data-Model/m-p/511532#M191115</guid>
      <dc:creator />
      <dc:date>2013-10-23T12:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Charts &amp; Data Model</title>
      <link>https://community.qlik.com/t5/QlikView/Charts-Data-Model/m-p/511533#M191116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the feedback. Currently the "Industry Avg" is a member of the client dimension with the corresponding values in he fact table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 13:12:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Charts-Data-Model/m-p/511533#M191116</guid>
      <dc:creator>regowins</dc:creator>
      <dc:date>2013-10-23T13:12:44Z</dc:date>
    </item>
  </channel>
</rss>

