<?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 How to  continue calculating with results in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-continue-calculating-with-results/m-p/1662900#M730132</link>
    <description>&lt;P&gt;Hey Guys,&lt;/P&gt;&lt;P&gt;I'm very new to QV. Sorry if this is a very simple question.&lt;BR /&gt;&lt;BR /&gt;I calculated the sums of the types of cost in QV (left).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Unbenannt.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/26392i924CB9BAEB57D56A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Unbenannt.PNG" alt="Unbenannt.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now I want to continue calculatig with the calculated values (total in straight table) to get a P&amp;amp;L Statement (right). Is that possible?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please help me how to calculated it and how to display it (pivot-table, straight table?).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 19:21:19 GMT</pubDate>
    <dc:creator>MBV</dc:creator>
    <dc:date>2024-11-16T19:21:19Z</dc:date>
    <item>
      <title>How to  continue calculating with results</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-continue-calculating-with-results/m-p/1662900#M730132</link>
      <description>&lt;P&gt;Hey Guys,&lt;/P&gt;&lt;P&gt;I'm very new to QV. Sorry if this is a very simple question.&lt;BR /&gt;&lt;BR /&gt;I calculated the sums of the types of cost in QV (left).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Unbenannt.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/26392i924CB9BAEB57D56A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Unbenannt.PNG" alt="Unbenannt.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now I want to continue calculatig with the calculated values (total in straight table) to get a P&amp;amp;L Statement (right). Is that possible?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please help me how to calculated it and how to display it (pivot-table, straight table?).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:21:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-continue-calculating-with-results/m-p/1662900#M730132</guid>
      <dc:creator>MBV</dc:creator>
      <dc:date>2024-11-16T19:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to  continue calculating with results</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-continue-calculating-with-results/m-p/1663059#M730133</link>
      <description>&lt;P&gt;Have a look at the following Design Blog post, I think it may help, there is an Extension for Sense, but not QlikView...&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/How-IntervalMatch-Solved-My-Profit-and-Loss-Dilemma/ba-p/1468702" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/How-IntervalMatch-Solved-My-Profit-and-Loss-Dilemma/ba-p/1468702&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you want to do some further searching in the Design Blog area yourself, there are hundreds of mostly how-to related things there, here is the URL to do that:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Sorry I do not have anything better for you, but hopefully this may get you on a decent path with things.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2020 18:44:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-continue-calculating-with-results/m-p/1663059#M730133</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-01-06T18:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to  continue calculating with results</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-continue-calculating-with-results/m-p/1663113#M730134</link>
      <description>&lt;LI-CODE lang="javascript"&gt;Map_Description:
mapping LOAD * Inline [
Type of cost, Description
2400000,Gross Sales
2990000,Gross Sales
4761000,Sales Return
4769100,Cost of Sales
4700000,Cost of Sales
4700010,Warehousing
4900000,Freight &amp;amp; Delivery ];

Description:
LOAD * Inline [
Description, Number
Gross Sales,1
Sales Return,2
Cost of Sales,4
Freight &amp;amp; Delivery,5
Warehousing,6 ];

Data:
Load *,ApplyMap('Map_Description',[Type of cost],Null()) as Description Inline [
Type of cost, Value
2400000,1990
2990000,0
4700000,-220
4700010,-900
4761000,350
4762000,60
4764000,1000
4769100,-800
4770010,-50
4900000,-325 ];

Dim:
LOAD * Inline [
Dim
1
2
3
4 ]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimension&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Heading-
=Pick(Dim,Description,'NET SALES','TOTAL COST OF SALES','GROSS MARGIN')
Note - Check option 'Suppress when value in NULL' for Heading

Type of Cost -
=Pick(Dim,[Type of cost],'','','')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression&lt;/STRONG&gt;:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;=Pick(Dim,
Sum(Value),
Sum({&amp;lt;Number={1,2}&amp;gt;}Value),
Sum({&amp;lt;Number={4,5,6}&amp;gt;}Value),
sum(Value))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Go to Straight table properties -&amp;gt;Presentation-&amp;gt; Uncheck 'Suppress zero values' &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sort setting for heading is below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 911px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/26421iC5045CA72D9CC3D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Dimension &lt;STRONG&gt;Header&amp;nbsp;&lt;/STRONG&gt;Text Color&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;=if(Pick(Dim,Description,'NET SALES','TOTAL COST OF SALES','GROSS MARGIN')=
above(total Pick(Dim,Description,'NET SALES','TOTAL COST OF SALES','GROSS MARGIN')),White())&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Dimension&amp;nbsp;&lt;STRONG&gt;Header &amp;amp; Measure&lt;/STRONG&gt;&amp;nbsp;Text Format&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;=if(Pick(Dim,Description,'NET SALES','TOTAL COST OF SALES','GROSS MARGIN')='NET SALES' or
Pick(Dim,Description,'NET SALES','TOTAL COST OF SALES','GROSS MARGIN')='TOTAL COST OF SALES' or
Pick(Dim,Description,'NET SALES','TOTAL COST OF SALES','GROSS MARGIN')='GROSS MARGIN','&amp;lt;b&amp;gt;')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 475px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/26422i1691E52F088DB5D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2020 22:03:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-continue-calculating-with-results/m-p/1663113#M730134</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-01-06T22:03:32Z</dc:date>
    </item>
  </channel>
</rss>

