<?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: need formula for tricky output in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157473#M909384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Dimensionality&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;()&amp;lt;=3,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Sale&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)/ &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Sale&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;))*100,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Sale&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;total&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;ST&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Sale&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)*100) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jun 2016 06:32:16 GMT</pubDate>
    <dc:creator>settu_periasamy</dc:creator>
    <dc:date>2016-06-09T06:32:16Z</dc:date>
    <item>
      <title>need formula for tricky output</title>
      <link>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157465#M909376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need some help Please find the attachment with expected output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157465#M909376</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: need formula for tricky output</title>
      <link>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157466#M909377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is your expression for contr???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try below logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(ContriExpression)/Sum(Total &amp;lt;ST&amp;gt; ContriExpression) * 100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 06:07:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157466#M909377</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2016-06-09T06:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: need formula for tricky output</title>
      <link>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157467#M909378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used (SUM(Sale)/ SUM(TOTAL(Sale)))*100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But using above I am not get expected output&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 06:09:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157467#M909378</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-09T06:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: need formula for tricky output</title>
      <link>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157468#M909379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use below expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum(Sale)/sum(total &amp;lt;ST&amp;gt;Sale))*100&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 06:14:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157468#M909379</guid>
      <dc:creator>kamal_sanguri</dc:creator>
      <dc:date>2016-06-09T06:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: need formula for tricky output</title>
      <link>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157469#M909380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is the updated qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 06:14:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157469#M909380</guid>
      <dc:creator>kamal_sanguri</dc:creator>
      <dc:date>2016-06-09T06:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: need formula for tricky output</title>
      <link>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157470#M909381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(SUM(Sale)/ SUM(TOTAL&amp;lt;ST&amp;gt; Sale))*100&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Regards&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 06:16:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157470#M909381</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2016-06-09T06:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: need formula for tricky output</title>
      <link>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157471#M909382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or you can use :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum(Sale)/aggr(nodistinct sum(Sale),ST))*100&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 06:17:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157471#M909382</guid>
      <dc:creator>kamal_sanguri</dc:creator>
      <dc:date>2016-06-09T06:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: need formula for tricky output</title>
      <link>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157472#M909383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kamal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the attachment for ST contribution is missing (71.1 and 28.9)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see ex op excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 06:23:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157472#M909383</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-09T06:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: need formula for tricky output</title>
      <link>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157473#M909384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Dimensionality&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;()&amp;lt;=3,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Sale&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)/ &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Sale&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;))*100,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Sale&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;total&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;ST&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Sale&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)*100) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 06:32:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157473#M909384</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2016-06-09T06:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: need formula for tricky output</title>
      <link>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157474#M909385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what you want to see is the percentage distribution and the sum of percentage distribution will be equal to hundred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for ex:&lt;/P&gt;&lt;P&gt;Item Share %dist&lt;/P&gt;&lt;P&gt;a&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30%&lt;/P&gt;&lt;P&gt;b&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 40&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 40%&lt;/P&gt;&lt;P&gt;c&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30%&lt;/P&gt;&lt;P&gt;subtotal - 100%&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 06:32:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157474#M909385</guid>
      <dc:creator>kamal_sanguri</dc:creator>
      <dc:date>2016-06-09T06:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: need formula for tricky output</title>
      <link>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157475#M909386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is the updated one..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the expression suggested by &lt;A href="https://community.qlik.com/qlik-users/133561"&gt;settu_periasamy&lt;/A&gt;‌..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 06:51:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157475#M909386</guid>
      <dc:creator>kamal_sanguri</dc:creator>
      <dc:date>2016-06-09T06:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: need formula for tricky output</title>
      <link>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157476#M909387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Settu, &lt;A href="https://community.qlik.com/qlik-users/133561"&gt;settu_periasamy&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your solution is right but when I am using this into main application then it is not showing correct values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim used :&lt;/P&gt;&lt;P&gt;1)Division&lt;/P&gt;&lt;P&gt;2)Product&lt;/P&gt;&lt;P&gt;3)State&lt;/P&gt;&lt;P&gt;4)Customer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;(Sum({$&amp;lt;FinancialYear=,[Posting Date]={"&amp;gt;=$(=date(max(YearStart)))&amp;lt;=$(=date(max(YearEnd)))"}&amp;gt;} [Gross Sales Amount])&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;FinancialYear=,[Posting Date]={"&amp;gt;=$(=date(max(YearStart)))&amp;lt;=$(=date(max(YearEnd)))"}&amp;gt;} [Sales Return Amount]))/100000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Contr: ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 07:27:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157476#M909387</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-09T07:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: need formula for tricky output</title>
      <link>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157477#M909388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe try this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Dimensionality()&amp;lt;=3,&lt;/P&gt;&lt;P&gt;(Sum({$&amp;lt;FinancialYear=,[Posting Date]={"&amp;gt;=$(=date(max(YearStart)))&amp;lt;=$(=date(max(YearEnd)))"}&amp;gt;} [Gross Sales Amount]-[Sales Return Amount])/&lt;/P&gt;&lt;P&gt;Sum(TOTAL {$&amp;lt;FinancialYear=,[Posting Date]={"&amp;gt;=$(=date(max(YearStart)))&amp;lt;=$(=date(max(YearEnd)))"}&amp;gt;} [Gross Sales Amount]-[Sales Return Amount])),&lt;/P&gt;&lt;P&gt;(Sum({$&amp;lt;FinancialYear=,[Posting Date]={"&amp;gt;=$(=date(max(YearStart)))&amp;lt;=$(=date(max(YearEnd)))"}&amp;gt;} [Gross Sales Amount]-[Sales Return Amount])/&lt;/P&gt;&lt;P&gt;Sum(TOTAL &amp;lt;State&amp;gt; {$&amp;lt;FinancialYear=,[Posting Date]={"&amp;gt;=$(=date(max(YearStart)))&amp;lt;=$(=date(max(YearEnd)))"}&amp;gt;} [Gross Sales Amount]-[Sales Return Amount])))/100000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 07:37:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157477#M909388</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2016-06-09T07:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: need formula for tricky output</title>
      <link>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157478#M909389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/133561"&gt;settu_periasamy&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried but not get exp output..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 08:47:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157478#M909389</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-09T08:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: need formula for tricky output</title>
      <link>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157479#M909390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried to separate the expression and see the result is correct or not? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 08:49:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157479#M909390</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2016-06-09T08:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: need formula for tricky output</title>
      <link>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157480#M909391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 09:00:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157480#M909391</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-09T09:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: need formula for tricky output</title>
      <link>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157481#M909392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could you prepare the sample with your issue illustrate?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe you are using that expression in pivot table. &lt;/P&gt;&lt;P&gt;May be try this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Dimensionality()&amp;lt;=3,&lt;/P&gt;&lt;P&gt;(Sum({$&amp;lt;FinancialYear=,[Posting Date]={"&amp;gt;=$(=date(max(YearStart)))&amp;lt;=$(=date(max(YearEnd)))"}&amp;gt;} [Gross Sales Amount])&lt;/P&gt;&lt;P&gt;- Sum({$&amp;lt;FinancialYear=,[Posting Date]={"&amp;gt;=$(=date(max(YearStart)))&amp;lt;=$(=date(max(YearEnd)))"}&amp;gt;}[Sales Return Amount]))/&lt;/P&gt;&lt;P&gt;(Sum(TOTAL {$&amp;lt;FinancialYear=,[Posting Date]={"&amp;gt;=$(=date(max(YearStart)))&amp;lt;=$(=date(max(YearEnd)))"}&amp;gt;} [Gross Sales Amount])&lt;/P&gt;&lt;P&gt;-Sum(TOTAL {$&amp;lt;FinancialYear=,[Posting Date]={"&amp;gt;=$(=date(max(YearStart)))&amp;lt;=$(=date(max(YearEnd)))"}&amp;gt;} [Sales Return Amount]),&lt;/P&gt;&lt;P&gt;(Sum({$&amp;lt;FinancialYear=,[Posting Date]={"&amp;gt;=$(=date(max(YearStart)))&amp;lt;=$(=date(max(YearEnd)))"}&amp;gt;} [Gross Sales Amount])&lt;/P&gt;&lt;P&gt;- Sum({$&amp;lt;FinancialYear=,[Posting Date]={"&amp;gt;=$(=date(max(YearStart)))&amp;lt;=$(=date(max(YearEnd)))"}&amp;gt;}[Sales Return Amount]))/&lt;/P&gt;&lt;P&gt;(Sum(TOTAL &amp;lt;State&amp;gt;{$&amp;lt;FinancialYear=,[Posting Date]={"&amp;gt;=$(=date(max(YearStart)))&amp;lt;=$(=date(max(YearEnd)))"}&amp;gt;} [Gross Sales Amount])&lt;/P&gt;&lt;P&gt;-Sum(TOTAL &amp;lt;State&amp;gt;{$&amp;lt;FinancialYear=,[Posting Date]={"&amp;gt;=$(=date(max(YearStart)))&amp;lt;=$(=date(max(YearEnd)))"}&amp;gt;} [Sales Return Amount])))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 09:35:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-formula-for-tricky-output/m-p/1157481#M909392</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2016-06-09T09:35:24Z</dc:date>
    </item>
  </channel>
</rss>

