<?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 Creation of Calculated Dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Creation-of-Calculated-Dimension/m-p/2152454#M93345</link>
    <description>&lt;P&gt;Hi Friend&lt;/P&gt;
&lt;P&gt;I&amp;nbsp; have in my data model a Pivot Table 1 as shown below and I Want my pivot table to be modified(Pivot Table2) to enable me calculate the net profit . I tried to do but not getting the desired result. Kindly Help to modify the my pivot table 1 so that I can have Pivot Table 2&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Upali_Wijearatne_0-1702466691517.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/125333i4F127EBA0A8C25AF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Upali_Wijearatne_0-1702466691517.png" alt="Upali_Wijearatne_0-1702466691517.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Dec 2023 11:25:31 GMT</pubDate>
    <dc:creator>Upali_Wijearatne</dc:creator>
    <dc:date>2023-12-13T11:25:31Z</dc:date>
    <item>
      <title>Creation of Calculated Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Creation-of-Calculated-Dimension/m-p/2152454#M93345</link>
      <description>&lt;P&gt;Hi Friend&lt;/P&gt;
&lt;P&gt;I&amp;nbsp; have in my data model a Pivot Table 1 as shown below and I Want my pivot table to be modified(Pivot Table2) to enable me calculate the net profit . I tried to do but not getting the desired result. Kindly Help to modify the my pivot table 1 so that I can have Pivot Table 2&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Upali_Wijearatne_0-1702466691517.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/125333i4F127EBA0A8C25AF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Upali_Wijearatne_0-1702466691517.png" alt="Upali_Wijearatne_0-1702466691517.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 11:25:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creation-of-Calculated-Dimension/m-p/2152454#M93345</guid>
      <dc:creator>Upali_Wijearatne</dc:creator>
      <dc:date>2023-12-13T11:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Creation of Calculated Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Creation-of-Calculated-Dimension/m-p/2152486#M93350</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you can add data to your model, you can create a PL_Group like :&lt;/P&gt;
&lt;P&gt;PL_Description the link to your data&lt;/P&gt;
&lt;P&gt;PL_Group the dimension you can use&lt;/P&gt;
&lt;P&gt;Sign if is minus (like costs)&lt;/P&gt;
&lt;P&gt;Order for good sorting&lt;/P&gt;
&lt;TABLE width="486"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="162.703px" height="25px"&gt;PL_Description&lt;/TD&gt;
&lt;TD width="162.688px" height="25px"&gt;PL_Group&lt;/TD&gt;
&lt;TD width="79.7656px" height="25px"&gt;Sign&lt;/TD&gt;
&lt;TD width="79.8438px" height="25px"&gt;Order&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="162.703px" height="25px"&gt;Revenue&lt;/TD&gt;
&lt;TD width="162.688px" height="25px"&gt;Revenue&lt;/TD&gt;
&lt;TD width="79.7656px" height="25px"&gt;1&lt;/TD&gt;
&lt;TD width="79.8438px" height="25px"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="162.703px" height="25px"&gt;COGS&lt;/TD&gt;
&lt;TD width="162.688px" height="25px"&gt;COGS&lt;/TD&gt;
&lt;TD width="79.7656px" height="25px"&gt;1&lt;/TD&gt;
&lt;TD width="79.8438px" height="25px"&gt;2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="162.703px" height="25px"&gt;Revenue&lt;/TD&gt;
&lt;TD width="162.688px" height="25px"&gt;Gross Profit&lt;/TD&gt;
&lt;TD width="79.7656px" height="25px"&gt;1&lt;/TD&gt;
&lt;TD width="79.8438px" height="25px"&gt;3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="162.703px" height="25px"&gt;COGS&lt;/TD&gt;
&lt;TD width="162.688px" height="25px"&gt;Gross Profit&lt;/TD&gt;
&lt;TD width="79.7656px" height="25px"&gt;-1&lt;/TD&gt;
&lt;TD width="79.8438px" height="25px"&gt;3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="162.703px" height="25px"&gt;Staff Expenses&lt;/TD&gt;
&lt;TD width="162.688px" height="25px"&gt;Staff Expenses&lt;/TD&gt;
&lt;TD width="79.7656px" height="25px"&gt;1&lt;/TD&gt;
&lt;TD width="79.8438px" height="25px"&gt;4&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="162.703px" height="47px"&gt;Administration Expenses&lt;/TD&gt;
&lt;TD width="162.688px" height="47px"&gt;Administration Expenses&lt;/TD&gt;
&lt;TD width="79.7656px" height="47px"&gt;1&lt;/TD&gt;
&lt;TD width="79.8438px" height="47px"&gt;5&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="162.703px" height="47px"&gt;Selling &amp;amp; Didtribution Ex&lt;/TD&gt;
&lt;TD width="162.688px" height="47px"&gt;Selling &amp;amp; Didtribution Ex&lt;/TD&gt;
&lt;TD width="79.7656px" height="47px"&gt;1&lt;/TD&gt;
&lt;TD width="79.8438px" height="47px"&gt;6&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="162.703px" height="25px"&gt;Staff Expenses&lt;/TD&gt;
&lt;TD width="162.688px" height="25px"&gt;Total Expenses&lt;/TD&gt;
&lt;TD width="79.7656px" height="25px"&gt;1&lt;/TD&gt;
&lt;TD width="79.8438px" height="25px"&gt;7&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="162.703px" height="47px"&gt;Administration Expenses&lt;/TD&gt;
&lt;TD width="162.688px" height="47px"&gt;Total Expenses&lt;/TD&gt;
&lt;TD width="79.7656px" height="47px"&gt;1&lt;/TD&gt;
&lt;TD width="79.8438px" height="47px"&gt;7&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="162.703px" height="47px"&gt;Selling &amp;amp; Didtribution Ex&lt;/TD&gt;
&lt;TD width="162.688px" height="47px"&gt;Total Expenses&lt;/TD&gt;
&lt;TD width="79.7656px" height="47px"&gt;1&lt;/TD&gt;
&lt;TD width="79.8438px" height="47px"&gt;7&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="162.703px" height="25px"&gt;Other Income&lt;/TD&gt;
&lt;TD width="162.688px" height="25px"&gt;Other Income&lt;/TD&gt;
&lt;TD width="79.7656px" height="25px"&gt;1&lt;/TD&gt;
&lt;TD width="79.8438px" height="25px"&gt;8&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="162.703px" height="25px"&gt;Revenue&lt;/TD&gt;
&lt;TD width="162.688px" height="25px"&gt;Net Profit&lt;/TD&gt;
&lt;TD width="79.7656px" height="25px"&gt;1&lt;/TD&gt;
&lt;TD width="79.8438px" height="25px"&gt;9&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="162.703px" height="25px"&gt;COGS&lt;/TD&gt;
&lt;TD width="162.688px" height="25px"&gt;Net Profit&lt;/TD&gt;
&lt;TD width="79.7656px" height="25px"&gt;-1&lt;/TD&gt;
&lt;TD width="79.8438px" height="25px"&gt;9&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="162.703px" height="25px"&gt;Staff Expenses&lt;/TD&gt;
&lt;TD width="162.688px" height="25px"&gt;Net Profit&lt;/TD&gt;
&lt;TD width="79.7656px" height="25px"&gt;-1&lt;/TD&gt;
&lt;TD width="79.8438px" height="25px"&gt;9&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="162.703px" height="47px"&gt;Administration Expenses&lt;/TD&gt;
&lt;TD width="162.688px" height="47px"&gt;Net Profit&lt;/TD&gt;
&lt;TD width="79.7656px" height="47px"&gt;-1&lt;/TD&gt;
&lt;TD width="79.8438px" height="47px"&gt;9&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="162.703px" height="47px"&gt;Selling &amp;amp; Didtribution Ex&lt;/TD&gt;
&lt;TD width="162.688px" height="47px"&gt;Net Profit&lt;/TD&gt;
&lt;TD width="79.7656px" height="47px"&gt;-1&lt;/TD&gt;
&lt;TD width="79.8438px" height="47px"&gt;9&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="162.703px" height="25px"&gt;Other Income&lt;/TD&gt;
&lt;TD width="162.688px" height="25px"&gt;Net Profit&lt;/TD&gt;
&lt;TD width="79.7656px" height="25px"&gt;1&lt;/TD&gt;
&lt;TD width="79.8438px" height="25px"&gt;9&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use a expression like :&lt;/P&gt;
&lt;P&gt;Sum(value*Sign)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The resut :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aurelien_Martinez_0-1702469605503.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/125340i22D194DD148E68E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Aurelien_Martinez_0-1702469605503.png" alt="Aurelien_Martinez_0-1702469605503.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bonus : you can add a column with color code&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 12:14:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creation-of-Calculated-Dimension/m-p/2152486#M93350</guid>
      <dc:creator>Aurelien_Martinez</dc:creator>
      <dc:date>2023-12-13T12:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Creation of Calculated Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Creation-of-Calculated-Dimension/m-p/2152543#M93353</link>
      <description>&lt;P&gt;You can maybe use 2 dimensions and creates a table to classify your PL_Description, something like:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;PL_Descriptions:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Load * Inline&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[&amp;nbsp;PL_Description, PL_Group, DebitCredit&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Revenue,Gross Profit,1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;COGS,Gross Profit,-1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Staff Expenses,Total Expenses,1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Administration Expenses,Total Expenses,1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Selling &amp;amp; Distribution Expenses,Total Expenses,1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Other Income,Other Income,1];&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Then, you create a pivot table with PL_Group, PL_Description and &lt;FONT face="courier new,courier"&gt;Sum(Actual)*DebitCredit&amp;nbsp;&lt;/FONT&gt;as expression.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 13:30:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creation-of-Calculated-Dimension/m-p/2152543#M93353</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2023-12-13T13:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Creation of Calculated Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Creation-of-Calculated-Dimension/m-p/2152555#M93354</link>
      <description>&lt;P&gt;Thanks for your reply. But I can not understand this since I am new to qlikview Please. Pls simplify it&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 14:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creation-of-Calculated-Dimension/m-p/2152555#M93354</guid>
      <dc:creator>Upali_Wijearatne</dc:creator>
      <dc:date>2023-12-13T14:00:13Z</dc:date>
    </item>
  </channel>
</rss>

