<?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 Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/268974#M1193196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read through a few posts regarding this and havent come across a solution pertaining to my exact problem. What I am trying to do is build some financial reporting. In one of the SQL tables there is a column called AccountGroupDescription. This column has entries like Cost of Sales, Turnover, Current Liabilities et cetera.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am trying to do is build a financial dashboard with 4 'fields' in the AccountGroupDescription. This needs to be a pivot table. So I have COS and Turnover, I want to add Gross Profit and Gross Margin % but they need to appear along with the above 2 in the dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope my explaination of what I am looking for makes sense and someone knows how I could possible achieve this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Byron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jun 2011 11:08:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-07T11:08:51Z</dc:date>
    <item>
      <title>Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/268974#M1193196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read through a few posts regarding this and havent come across a solution pertaining to my exact problem. What I am trying to do is build some financial reporting. In one of the SQL tables there is a column called AccountGroupDescription. This column has entries like Cost of Sales, Turnover, Current Liabilities et cetera.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am trying to do is build a financial dashboard with 4 'fields' in the AccountGroupDescription. This needs to be a pivot table. So I have COS and Turnover, I want to add Gross Profit and Gross Margin % but they need to appear along with the above 2 in the dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope my explaination of what I am looking for makes sense and someone knows how I could possible achieve this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Byron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 11:08:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/268974#M1193196</guid>
      <dc:creator />
      <dc:date>2011-06-07T11:08:51Z</dc:date>
    </item>
    <item>
      <title>Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/268975#M1193197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Anyone??????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 10:14:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/268975#M1193197</guid>
      <dc:creator />
      <dc:date>2011-06-08T10:14:38Z</dc:date>
    </item>
    <item>
      <title>Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/268976#M1193198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Byron&lt;/P&gt;&lt;P&gt;Maybe you could create four expressions instead of a dimension&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;You can create those dimensions at script level&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;use valuelist as a dimension. This can create an artificial dimension, like this:&lt;/P&gt;&lt;P&gt;=valuelist('COS', 'TO', 'GP','GM')&lt;/P&gt;&lt;P&gt;Then, the expressions will need an if statement, like this: &lt;/P&gt;&lt;P&gt;= if( valuelist('COS', 'TO', 'GP','GM') ='COS',SUM( {&amp;lt;AccountGroupDescription = {COS}&amp;gt;} VALUE) ,&lt;/P&gt;&lt;P&gt;if ( valuelist('COS', 'TO', 'GP','GM') ='COS', etc... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 10:27:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/268976#M1193198</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-06-08T10:27:16Z</dc:date>
    </item>
    <item>
      <title>Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/268977#M1193199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excuse my language, but you sir are a fucking legend. Thank you very much...Besides just solving my problem I can see many uses for this type of code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks man,&lt;/P&gt;&lt;P&gt;Byron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 10:40:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/268977#M1193199</guid>
      <dc:creator />
      <dc:date>2011-06-08T10:40:30Z</dc:date>
    </item>
    <item>
      <title>Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/268978#M1193200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm glad I could help! I learnt about valuelist() a few weeks ago! &lt;/P&gt;&lt;P&gt;There are many interesting uses for this!!! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 10:43:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/268978#M1193200</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-06-08T10:43:48Z</dc:date>
    </item>
  </channel>
</rss>

