<?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: Problem calculated dimension, bar chart! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-calculated-dimension-bar-chart/m-p/636244#M233344</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the above one a single table or 2 different tables? is there a parent child relationship between id and id_portfolio? it looks like there is a self referencing hierarchy b/w them. In this case you have to use hierarchy function to define this table. I have attached the same here using the data you gave. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jun 2014 20:21:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-02T20:21:46Z</dc:date>
    <item>
      <title>Problem calculated dimension, bar chart!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-calculated-dimension-bar-chart/m-p/636240#M233340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm developing apps in Qlikview for about 2 month and today i bumped into a small problem. I'm trying to create simple bar chart from table looking like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;id&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;name&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;id_portfolio&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;type&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;111&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;one&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;333&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;222&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;two&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;444&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;333&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;portfolio1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;444&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;portfolio2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;555&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;three&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;444&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;666&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;four&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;444&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;777&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;five&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;444&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;888&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;six&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;333&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i created something like this:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="59979" alt="chart.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/59979_chart.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in the dimension i need name of id_portfolio (instead of 333 -&amp;gt; portfolio1 and 444-&amp;gt;portfolio2), but i don't want to use name as dimension, because the chart is counted correctly. I've tried aggr functions, almost everything &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that's solution is very easy, but i can't figure it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jacek Mossakowski&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 18:30:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-calculated-dimension-bar-chart/m-p/636240#M233340</guid>
      <dc:creator />
      <dc:date>2014-06-02T18:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem calculated dimension, bar chart!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-calculated-dimension-bar-chart/m-p/636241#M233341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you share your qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 19:10:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-calculated-dimension-bar-chart/m-p/636241#M233341</guid>
      <dc:creator />
      <dc:date>2014-06-02T19:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem calculated dimension, bar chart!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-calculated-dimension-bar-chart/m-p/636242#M233342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just load two tables instead of one, first with name an id aliased as id_portfolio, second with id_portfolio and type. The two tables shpuld link by id_portfolio. Then create a chart with your expression and dimension name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit: Here is the little script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD id as id_portfolio, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2051" data-containertype="14" data-objectid="120567" data-objecttype="1" href="http://community.qlik.com/thread/120567"&gt;http://community.qlik.com/thread/120567&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id_portfolio, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2051" data-containertype="14" data-objectid="120567" data-objecttype="1" href="http://community.qlik.com/thread/120567"&gt;http://community.qlik.com/thread/120567&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then create bar chart with dimension &lt;EM&gt;name &lt;/EM&gt;and as expression:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=count({&amp;lt;type = {1}&amp;gt;} type)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 19:15:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-calculated-dimension-bar-chart/m-p/636242#M233342</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-06-02T19:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem calculated dimension, bar chart!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-calculated-dimension-bar-chart/m-p/636243#M233343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jacek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an alternative way to view the data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the bar chart, select "id_portfolio" as your first dimension, and select "name" as your second dimension.&amp;nbsp; Go to the style tab in chart properties, and select "stacked" on the subtype.&amp;nbsp; This will show the same information as the chart above, but will give you insight on two dimensions instead of one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Example&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Stacked Bar Chart.png" class="jive-image" src="/legacyfs/online/59988_Stacked Bar Chart.png" style="width: 620px; height: 351px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;Sean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 19:42:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-calculated-dimension-bar-chart/m-p/636243#M233343</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-02T19:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem calculated dimension, bar chart!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-calculated-dimension-bar-chart/m-p/636244#M233344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the above one a single table or 2 different tables? is there a parent child relationship between id and id_portfolio? it looks like there is a self referencing hierarchy b/w them. In this case you have to use hierarchy function to define this table. I have attached the same here using the data you gave. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 20:21:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-calculated-dimension-bar-chart/m-p/636244#M233344</guid>
      <dc:creator />
      <dc:date>2014-06-02T20:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem calculated dimension, bar chart!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-calculated-dimension-bar-chart/m-p/636245#M233345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jacek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wg mnie lepszy będzie model:&lt;/P&gt;&lt;P&gt;table_a:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 191px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl25" height="35" width="64"&gt;id&lt;/TD&gt;&lt;TD class="xl25" style="border-left: none;" width="64"&gt;name&lt;/TD&gt;&lt;TD class="xl25" style="border-left: none;" width="63"&gt;id_portfolio&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="18" style="border-top: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;111&lt;/TD&gt;&lt;TD class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;one&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="63"&gt;333&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="18" style="border-top: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;222&lt;/TD&gt;&lt;TD class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;two&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="63"&gt;444&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="18" style="border-top: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;555&lt;/TD&gt;&lt;TD class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;three&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="63"&gt;444&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="18" style="border-top: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;666&lt;/TD&gt;&lt;TD class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;four&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="63"&gt;444&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="18" style="border-top: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;777&lt;/TD&gt;&lt;TD class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;five&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="63"&gt;444&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="18" style="border-top: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;888&lt;/TD&gt;&lt;TD class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;six&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="63"&gt;333&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table_b:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="128"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl25" height="35" width="64"&gt;id_portfolio&lt;/TD&gt;&lt;TD class="xl25" style="border-left: none;" width="64"&gt;portfolio_name&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="18" style="border-top: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;333&lt;/TD&gt;&lt;TD class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;portfolio1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="18" style="border-top: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;444&lt;/TD&gt;&lt;TD class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;portfolio2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ewentualnie można złączyć tabele a i b do jednej:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="255"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl25" height="35" style="padding-bottom: 2px; padding-top: 2px;" width="64"&gt;id&lt;/TD&gt;&lt;TD class="xl25" style="border-left: none;" width="64"&gt;name&lt;/TD&gt;&lt;TD class="xl25" style="border-left: none;" width="63"&gt;id_portfolio&lt;/TD&gt;&lt;TD class="xl25" style="border-left: none;" width="64"&gt;portfolio_name&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="18" style="border-top: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;111&lt;/TD&gt;&lt;TD class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;one&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="63"&gt;333&lt;/TD&gt;&lt;TD class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;portfolio1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="18" style="border-top: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;222&lt;/TD&gt;&lt;TD class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;two&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="63"&gt;444&lt;/TD&gt;&lt;TD class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;portfolio2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="18" style="border-top: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;555&lt;/TD&gt;&lt;TD class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;three&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="63"&gt;444&lt;/TD&gt;&lt;TD class="xl24" style="border-top: none; border-left: none;" width="64"&gt;portfolio2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="18" style="border-top: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;666&lt;/TD&gt;&lt;TD class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;four&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="63"&gt;444&lt;/TD&gt;&lt;TD class="xl24" style="border-top: none; border-left: none;" width="64"&gt;portfolio2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="18" style="border-top: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;777&lt;/TD&gt;&lt;TD class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;five&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="63"&gt;444&lt;/TD&gt;&lt;TD class="xl24" style="border-top: none; border-left: none;" width="64"&gt;portfolio2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl24" height="18" style="border-top: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;888&lt;/TD&gt;&lt;TD class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;six&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="63"&gt;333&lt;/TD&gt;&lt;TD class="xl24" style="border-top: none; border-left: none; padding-bottom: 2px; padding-top: 2px;" width="64"&gt;portfolio1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;W obydwu przypadkach możesz użyć portfolio_name jako wymiaru.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pozdrawiam&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 20:38:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-calculated-dimension-bar-chart/m-p/636245#M233345</guid>
      <dc:creator />
      <dc:date>2014-06-02T20:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem calculated dimension, bar chart!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-calculated-dimension-bar-chart/m-p/636246#M233346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought that there is a possibility to aggregate somehow id_portfolio and id &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; But i think that there is only one correct way - make two tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks guys! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 22:29:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-calculated-dimension-bar-chart/m-p/636246#M233346</guid>
      <dc:creator />
      <dc:date>2014-06-02T22:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem calculated dimension, bar chart!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-calculated-dimension-bar-chart/m-p/636247#M233347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jacek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in fact data model creation deppends on many factors. It is difficult to decide seeing only part of data ond KPI's, knowing not data volume etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example in your case, assuming that the only one feature of portfolio is its name and the only function of portfolio_id is make connection from fact to portfolio_name, my recomendation is to put portfolio_name into fact table and drop field portfolio_id. In fact, especially with bigger data volumes less tables is better because there is less time needed to propagate selections and join during calculations. QV in general stores 2 things for each field. Its distinct values and binary index. In your example portfolio name has 2 values, so QV may use 1 bit for storing its value for each row. This is why sometimes (when your dimension is not wery wide) it may be better to put it as a field into fact table than have id and additional dimension table....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course, regardless of the volume, the data model must be correct and adapted to the needs of the analysis. From my experience in applications with volumes of 10 million + details are beginning to be felt for processing time. In my application built for the largest volume of 800 million records every detail of the model had a significant impact on processing times and optimize it from the very beginning one of the most important topics in the project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2014 08:05:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-calculated-dimension-bar-chart/m-p/636247#M233347</guid>
      <dc:creator />
      <dc:date>2014-06-03T08:05:01Z</dc:date>
    </item>
  </channel>
</rss>

