<?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 Calculated Items and non-calculated Items in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-Items-and-non-calculated-Items/m-p/310498#M114640</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Dennis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your help so far, but it does not work.&lt;/P&gt;&lt;P&gt;The Expression for the Servers is an AGGR:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum(aggr((sum({&amp;lt;[Main Article Group]={'PC}&amp;gt;}[cpa_Net Value]*CurrencyRate)/&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Productnumber]={'Server A2, Server K4, Server B2, Server H4, Servfer I6'}&amp;gt;}[cpa_Net Value]*CurrencyRate)*&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Main_Article Group]={''}&amp;gt;}[cpa_Net Value]*CurrencyRate)),[Geo 4],[Fiscal Month Name],[Fiscal Year]))),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the rest, it's just a sum().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Caculation of does not show the right result in this apporach with IF - Statements. &lt;/P&gt;&lt;P&gt;The AGGR Function is correct, I've tested many times.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jul 2011 09:10:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-07-27T09:10:31Z</dc:date>
    <item>
      <title>Calculated Items and non-calculated Items</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Items-and-non-calculated-Items/m-p/310496#M114638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Ladies and Gentlemen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got a problem in combining calculated and non-calculated items. &lt;/P&gt;&lt;P&gt;Here is my example:&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 100%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Productgroup&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Product&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Units&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Sales Order Price&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;PC&lt;/TD&gt;&lt;TD&gt;A1&lt;/TD&gt;&lt;TD&gt;34&lt;/TD&gt;&lt;TD&gt;3634&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;PC&lt;/TD&gt;&lt;TD&gt;A2&lt;/TD&gt;&lt;TD&gt;176&lt;/TD&gt;&lt;TD&gt;34622&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Server&lt;/TD&gt;&lt;TD&gt;K3&lt;/TD&gt;&lt;TD&gt;231&lt;/TD&gt;&lt;TD&gt;232351&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Server-Farm&lt;/TD&gt;&lt;TD&gt;SSSSE&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;52233&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Server Farm&lt;/TD&gt;&lt;TD&gt;sssxx&lt;/TD&gt;&lt;TD&gt;34&lt;/TD&gt;&lt;TD&gt;5362737&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For PC and Server no calculations are needed. But for Server-Farm the Price is not only the Server-Farm Price but in additionen&lt;/P&gt;&lt;P&gt;the Ratio of PC/Server for specific Products. So it would be ServerFarm=ServerFarm + Serverfarm* (Pc Type A2/Server Type K8).&lt;/P&gt;&lt;P&gt;This ratio is different if it's based on a specific Country and different it it's on a specfic Region (APAC, EMEA, NA etc..)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When I add a formula in the chart and select Server Farm, my calcuation disapears.&lt;/P&gt;&lt;P&gt;How can solve this problem, applying to the ProductGroup a calcuated Product Group which replaced the old one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 08:42:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Items-and-non-calculated-Items/m-p/310496#M114638</guid>
      <dc:creator />
      <dc:date>2011-07-27T08:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Items and non-calculated Items</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Items-and-non-calculated-Items/m-p/310497#M114639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can solve this by using an IF() in your calculation.&lt;/P&gt;&lt;P&gt;Somthing like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Productgroup= PC, (ExpressionA) ,&lt;/P&gt;&lt;P&gt;IF(Productgroup= Server, (ExpressionA),&lt;/P&gt;&lt;P&gt;IF(Productgroup= 'Server-Farm', (ExpressionB)&lt;/P&gt;&lt;P&gt;)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Productgroup &amp;lt;&amp;gt;'Server-Farm', (ExpressionA) , (ExpressionB) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this works for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 08:51:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Items-and-non-calculated-Items/m-p/310497#M114639</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-07-27T08:51:30Z</dc:date>
    </item>
    <item>
      <title>Calculated Items and non-calculated Items</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Items-and-non-calculated-Items/m-p/310498#M114640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Dennis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your help so far, but it does not work.&lt;/P&gt;&lt;P&gt;The Expression for the Servers is an AGGR:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum(aggr((sum({&amp;lt;[Main Article Group]={'PC}&amp;gt;}[cpa_Net Value]*CurrencyRate)/&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Productnumber]={'Server A2, Server K4, Server B2, Server H4, Servfer I6'}&amp;gt;}[cpa_Net Value]*CurrencyRate)*&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Main_Article Group]={''}&amp;gt;}[cpa_Net Value]*CurrencyRate)),[Geo 4],[Fiscal Month Name],[Fiscal Year]))),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the rest, it's just a sum().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Caculation of does not show the right result in this apporach with IF - Statements. &lt;/P&gt;&lt;P&gt;The AGGR Function is correct, I've tested many times.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 09:10:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Items-and-non-calculated-Items/m-p/310498#M114640</guid>
      <dc:creator />
      <dc:date>2011-07-27T09:10:31Z</dc:date>
    </item>
  </channel>
</rss>

