<?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: QlikSense Profit and Loss Statement without an extension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/QlikSense-Profit-and-Loss-Statement-without-an-extension/m-p/1830652#M68456</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;How did you set up the calculations for the GM% Sales ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jo&lt;/P&gt;</description>
    <pubDate>Mon, 23 Aug 2021 23:06:22 GMT</pubDate>
    <dc:creator>Jogo</dc:creator>
    <dc:date>2021-08-23T23:06:22Z</dc:date>
    <item>
      <title>QlikSense Profit and Loss Statement without an extension</title>
      <link>https://community.qlik.com/t5/App-Development/QlikSense-Profit-and-Loss-Statement-without-an-extension/m-p/1512744#M36509</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Profit&amp;amp;Loss.JPG" style="width: 772px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/1065i7A0D13D77F4AC769/image-size/large?v=v2&amp;amp;px=999" role="button" title="Profit&amp;amp;Loss.JPG" alt="Profit&amp;amp;Loss.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:49:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikSense-Profit-and-Loss-Statement-without-an-extension/m-p/1512744#M36509</guid>
      <dc:creator>robert99</dc:creator>
      <dc:date>2024-11-16T21:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense Profit and Loss Statement without an extension</title>
      <link>https://community.qlik.com/t5/App-Development/QlikSense-Profit-and-Loss-Statement-without-an-extension/m-p/1512759#M36510</link>
      <description>&lt;P&gt;This is how I set up a profit and loss account in QS cloud business (where extensions can' t be used)&lt;/P&gt;&lt;P&gt;I did something similar many years back when starting on my Qlik journey but forgot how I did it. And no longer had access to the App. So came up with this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I prepared a word document this time. That I have attached&lt;/P&gt;&lt;P&gt;I'm sure there are improvements that could be made but this worked very well. I used this approach to set up three different Profit and Loss accounts and a balance sheet option.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 10:37:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikSense-Profit-and-Loss-Statement-without-an-extension/m-p/1512759#M36510</guid>
      <dc:creator>robert99</dc:creator>
      <dc:date>2018-11-27T10:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense Profit and Loss Statement without an extension</title>
      <link>https://community.qlik.com/t5/App-Development/QlikSense-Profit-and-Loss-Statement-without-an-extension/m-p/1830652#M68456</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;How did you set up the calculations for the GM% Sales ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jo&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 23:06:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikSense-Profit-and-Loss-Statement-without-an-extension/m-p/1830652#M68456</guid>
      <dc:creator>Jogo</dc:creator>
      <dc:date>2021-08-23T23:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense Profit and Loss Statement without an extension</title>
      <link>https://community.qlik.com/t5/App-Development/QlikSense-Profit-and-Loss-Statement-without-an-extension/m-p/1983921#M81173</link>
      <description>&lt;P&gt;Hi Jo&lt;/P&gt;
&lt;P&gt;This is quite old but will reply just in case anyone else wants to know. Its quite tricky involving a 2 step process&lt;/P&gt;
&lt;P&gt;1 I set up the total in Script . This only includes SALES and PURCHASES + DIRECT EXPENSES = The Gross Margin. So even though the expression below included Overheads and Other these 2 categories are excluded in the script&lt;/P&gt;
&lt;P&gt;Add_TradingGP%:&lt;BR /&gt;Concatenate(Excel)&lt;BR /&gt;LOAD&lt;BR /&gt;'Group2' as ReportType ,&lt;BR /&gt;Code ,&lt;BR /&gt;dual('GM% Sales',399)as NLRepTitlePLGroup2,&lt;BR /&gt;'White' as BGTextColour,&lt;BR /&gt;'Black' as FontTextColour ,&lt;BR /&gt;'White' as BGMetricColour,&lt;BR /&gt;'Black' as FontMetricColour ,&lt;BR /&gt;'PercentA' as Format &lt;BR /&gt;RESIDENT ReportLoad &lt;BR /&gt;where match(NLReportHeaderPL,'Sales','Purchases','Direct Expenses') ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2 Expression&lt;/P&gt;
&lt;P&gt;The relevant section that don't apply have been crossed out.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Only Gross Margin divided by Sales is applicable. But I had to include an expression that covered all percentages&lt;/P&gt;
&lt;P&gt;Another way to do this would be to have many expression for all percentages. One for GM% etc. If (Format = 'Dollar' , then if format = 'PercentGM' ETC&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRIKE&gt;if(Format = 'Dollar',&lt;/STRIKE&gt;&lt;BR /&gt;&lt;STRIKE&gt;num (&lt;/STRIKE&gt;&lt;BR /&gt;&lt;STRIKE&gt;-SUM({&amp;lt;NL_PLorBS = {"P&amp;amp;l"} , CanonType = {AccPeriod} , ReportType = {Group2} //,fYear = {$(=max(fYear)-1)}&lt;/STRIKE&gt;&lt;BR /&gt;&lt;STRIKE&gt;&amp;gt;}ActualValue),&lt;/STRIKE&gt;&lt;BR /&gt;&lt;STRIKE&gt;'£#,##0;-£#,##0'&lt;/STRIKE&gt;&lt;BR /&gt;&lt;STRIKE&gt;)&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;,//else&lt;BR /&gt;num(&lt;BR /&gt;(-SUM({&amp;lt;NL_PLorBS = {"P&amp;amp;l"} , Format ={&lt;STRONG&gt;PercentA}&lt;/STRONG&gt;, NLReportHeaderPL = {&lt;FONT color="#000000"&gt;&lt;STRONG&gt;Sales, Purchases,"Direct*"&lt;/STRONG&gt;,&lt;/FONT&gt;&lt;STRIKE&gt;Overheads, Other&lt;/STRIKE&gt;} ,CanonType = {AccPeriod} , ReportType = {Group2} &amp;gt;} ActualValue)&lt;BR /&gt;&lt;STRIKE&gt;+SUM({&amp;lt;NL_PLorBS = {"P&amp;amp;l"} , Format ={PercentB}, NLReportHeaderPL = { Purchases,"Direct*",Overheads, Other} ,CanonType = {AccPeriod} , ReportType = {Group2} &amp;gt;} ActualValue))&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;/&lt;BR /&gt;&lt;STRONG&gt;-SUM({&amp;lt;NL_PLorBS = {"P&amp;amp;l"} , NLReportHeaderPL = {Sales} ,CanonType = {AccPeriod} , ReportType = {Group2} &amp;gt;} ActualValue)&lt;/STRONG&gt;&lt;BR /&gt;,'0.0%')&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;EDIT With the new Set Analysis this would work&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;{&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;NL_PLorBS = {"P&amp;amp;l"}, CanonType = {AccPeriod},ReportType = {Group2} &amp;gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if(Format = 'Dollar',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;num (-SUM(ActualValue),'£#,##0;-£#,##0' )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//else for PercentA or PercentB. (PercentB only applies to Overheads % Sales)&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;, num(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(-SUM({&amp;lt; Format ={PercentA} &amp;gt;} ActualValue)&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;STRIKE&gt;+SUM({&amp;lt; Format ={PercentB}, NLReportHeaderPL = {Overheads} &amp;gt;} ActualValue)&lt;/STRIKE&gt;)&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-SUM({&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Format = {PercentA,PercentB},NLReportHeaderPL = {Sales}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;ActualValue)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;,'0.0%')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 04:14:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikSense-Profit-and-Loss-Statement-without-an-extension/m-p/1983921#M81173</guid>
      <dc:creator>robert99</dc:creator>
      <dc:date>2022-10-03T04:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense Profit and Loss Statement without an extension</title>
      <link>https://community.qlik.com/t5/App-Development/QlikSense-Profit-and-Loss-Statement-without-an-extension/m-p/1984509#M81230</link>
      <description>&lt;P&gt;You could also use ValueList() for a simple P+L. As shown below&lt;/P&gt;
&lt;P&gt;But make it Sales COS and Margin&lt;/P&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="robert99_0-1663907210758.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/89729i5A273F7E8241EF62/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robert99_0-1663907210758.png" alt="robert99_0-1663907210758.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Dimension&lt;/P&gt;
&lt;P&gt;=ValueList('Sum 2014','Margin % 2014','Sum 2015')&lt;/P&gt;
&lt;P&gt;Expression&lt;/P&gt;
&lt;P&gt;=IF( ValueList('Sum 2014','Margin % 2014', 'Sum 2015')='Sum 2014',&lt;/P&gt;
&lt;P&gt;num( Sum ({&amp;lt;Year *= {2014}&amp;gt;}&lt;/P&gt;
&lt;P&gt;[Invoiced Quantity] * [OrderPrice] *(1-[Line Discount %]) * (1-["Invoice Discount %"]))&lt;BR /&gt;,'£#,##0;-£#,##0')&lt;BR /&gt;, &lt;BR /&gt;IF( ValueList('Sum 2014','Margin % 2014', 'Sum 2015')='Sum 2015',&lt;/P&gt;
&lt;P&gt;num( Sum ({&amp;lt;Year *= {2015}&amp;gt;}&lt;/P&gt;
&lt;P&gt;[Invoiced Quantity] * [OrderPrice] *(1-[Line Discount %]) * (1-["Invoice Discount %"]))&lt;BR /&gt;,'£#,##0;-£#,##0')&lt;BR /&gt;,&lt;/P&gt;
&lt;P&gt;num(&lt;BR /&gt;SUM ( {&amp;lt;Year = {2014}&amp;gt;} Margin) / SUM ( {&amp;lt;Year = {2014}&amp;gt;} Sales£),'0.0%') ))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Background Color&lt;/P&gt;
&lt;P&gt;=IF( ValueList('Sum 2014','Margin % 2014', 'Sum 2015')='Margin % 2014',Black(),white())&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 04:32:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikSense-Profit-and-Loss-Statement-without-an-extension/m-p/1984509#M81230</guid>
      <dc:creator>robert99</dc:creator>
      <dc:date>2022-09-23T04:32:13Z</dc:date>
    </item>
  </channel>
</rss>

