<?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: Variables Computation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291407#M860453</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Anil Babu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to attached QV file and advise how to arrange Gross Profit and Gross Margin below the Cost of Sales ?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Tracy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 21 Jan 2017 14:28:08 GMT</pubDate>
    <dc:creator>tracycrown</dc:creator>
    <dc:date>2017-01-21T14:28:08Z</dc:date>
    <item>
      <title>Variables Computation</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291403#M860447</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;Kindly help to advise how to compute variables called Gross Profit and Gross Margin based on following raw data :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 723px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="21" style="border: 0px black; border-image: none;" width="48"&gt;&lt;STRONG style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Store&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;" width="159"&gt;&lt;STRONG style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Account&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;" width="67"&gt;&lt;STRONG style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Type&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="border-width: 1pt 0.5pt; border-style: solid; border-color: windowtext; background-color: yellow;" width="191"&gt;&lt;STRONG style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Details&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;" width="85"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;2013&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;" width="75"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;" width="98"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;2015&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;L1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Revenue&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Retail&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Product 1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px blue; border-image: none;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;200,000 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px blue; border-image: none;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;243,000 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px blue; border-image: none;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;295,000 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;L1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Revenue&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Retail&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Product 2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px blue; border-image: none;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;185,450 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px blue; border-image: none;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;177,490 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px blue; border-image: none;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;170,045 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;L1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Cost of Sales&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Retail&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Product 1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px blue; border-image: none;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;160,000 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px blue; border-image: none;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;206,550 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px blue; border-image: none;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;253,700 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;L1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Cost of Sales&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Retail&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Product 2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px blue; border-image: none;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;142,797 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px blue; border-image: none;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;143,767 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px blue; border-image: none;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;136,036 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Formula :&lt;/P&gt;&lt;P&gt;1. Gross Profit = Revenue - Cost of Sales&lt;/P&gt;&lt;P&gt;2. Gross Margin = Gross Profit / Revenue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Tracy &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/Variables-Computation/m-p/1291403#M860447</guid>
      <dc:creator>tracycrown</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Variables Computation</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291404#M860449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you consider to put it in script ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;(Revenue - Cost of Sales ) as [Gross Profit]&lt;/P&gt;&lt;P&gt;(Gross Profit / Revenue) as [Gross Margin]&lt;/P&gt;&lt;P&gt;Resident CrossTableName&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2017 12:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291404#M860449</guid>
      <dc:creator>girirajsinh</dc:creator>
      <dc:date>2017-01-21T12:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Variables Computation</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291405#M860451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this you need from Front End or Back End.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First you need cross table for Year as Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then You can use these formulas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim as you need&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And Expressions, Something like this&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1. Gross Profit = &lt;STRONG&gt;Sum({&amp;lt;Account ={'Revenue'}&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Data&lt;/SPAN&gt;) - Sum({&amp;lt;Account = {'Cost of Sales'} &amp;gt;} Data)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2. Gross Margin = &lt;STRONG&gt;Column(1) / &lt;/STRONG&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;Account ={'Revenue'}&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Data&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2017 13:28:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291405#M860451</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-01-21T13:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Variables Computation</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291406#M860452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Girirajsinh Vaghela&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your advice. I have tried but it does not work, please refer to attached QV fille.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;Tracy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2017 14:22:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291406#M860452</guid>
      <dc:creator>tracycrown</dc:creator>
      <dc:date>2017-01-21T14:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Variables Computation</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291407#M860453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Anil Babu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to attached QV file and advise how to arrange Gross Profit and Gross Margin below the Cost of Sales ?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Tracy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2017 14:28:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291407#M860453</guid>
      <dc:creator>tracycrown</dc:creator>
      <dc:date>2017-01-21T14:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Variables Computation</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291408#M860454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to create them here in attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2017 14:56:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291408#M860454</guid>
      <dc:creator>girirajsinh</dc:creator>
      <dc:date>2017-01-21T14:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Variables Computation</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291409#M860455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think a data model like this will be easier to work with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you feel the same , i'll post the script!&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/150336_2Capture.JPG" style="height: 238px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2017 15:19:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291409#M860455</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-01-21T15:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Variables Computation</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291410#M860456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Vineeth Pujari&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick response. The answer is correct but which method did you use Script or Expression ?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;Tracy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2017 16:23:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291410#M860456</guid>
      <dc:creator>tracycrown</dc:creator>
      <dc:date>2017-01-21T16:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Variables Computation</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291411#M860457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the attached App&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2017 16:31:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291411#M860457</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-01-21T16:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Variables Computation</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291412#M860461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you check if the attached working fine for you ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2017 22:02:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291412#M860461</guid>
      <dc:creator>girirajsinh</dc:creator>
      <dc:date>2017-01-21T22:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Variables Computation</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291413#M860465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Vineeth Pujari&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your App.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found it too difficult to understand, is there a way to write a simple script using the concept of SET vA etc. same as the ones (1st few lines) in my QV file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Tracy&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jan 2017 00:55:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291413#M860465</guid>
      <dc:creator>tracycrown</dc:creator>
      <dc:date>2017-01-22T00:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Variables Computation</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291414#M860467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tracy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached qvw. check if that is fine for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jan 2017 07:08:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291414#M860467</guid>
      <dc:creator>girirajsinh</dc:creator>
      <dc:date>2017-01-22T07:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Variables Computation</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291415#M860468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Girirajsinh Vaghela&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your kind advice. The answer is correct but how to arrange in following format ?&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/150403_pastedImage_3.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Tracy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 00:12:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291415#M860468</guid>
      <dc:creator>tracycrown</dc:creator>
      <dc:date>2017-01-23T00:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Variables Computation</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291416#M860469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tracy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may use Pivot or Stright Table, something like this way.&lt;/P&gt;&lt;P&gt;Please find attached document.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 08:15:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291416#M860469</guid>
      <dc:creator>girirajsinh</dc:creator>
      <dc:date>2017-01-23T08:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: Variables Computation</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291417#M860470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Girirajsinh Vaghela&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your kind effort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The answer is correct but the format is different from what my client's requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to arrange revenue, cost of sales, gross profit and gross margin under "Account" which is the same format I posted on Jan 22, 2017 ?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Tracy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 23:36:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291417#M860470</guid>
      <dc:creator>tracycrown</dc:creator>
      <dc:date>2017-01-23T23:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Variables Computation</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291418#M860471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;num&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: #575757;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;Revenue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),'###,##0')&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;instead of sum(Revenue)&lt;/P&gt;&lt;P&gt;and for gross margin something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 8pt;"&gt;num(&lt;/SPAN&gt;&lt;SPAN style="color: #575757;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;GM&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-size: 8pt;"&gt;),'#0.0%') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same you can achieve by formating from Number tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please read more about Num() here.&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/FormattingFunctions/Num.htm" title="https://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/FormattingFunctions/Num.htm"&gt;https://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/FormattingFunctions/Num.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 05:32:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291418#M860471</guid>
      <dc:creator>girirajsinh</dc:creator>
      <dc:date>2017-01-24T05:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Variables Computation</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291419#M860472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Girirajsinh Vaghela&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have mistaken what I want, I do not mean the numeric and percentage date formatting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My client insisted that the following report format : Store, Account, Type, Details , 2013, 2014, 2015.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image" src="https://community.qlik.com/legacyfs/online/150615_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tracy &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 07:40:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291419#M860472</guid>
      <dc:creator>tracycrown</dc:creator>
      <dc:date>2017-01-24T07:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Variables Computation</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291420#M860473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tracy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached one. It brings the new format and logic for loading.&lt;/P&gt;&lt;P&gt;the earlier what I suggested was more robust way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this one is developed till Gross Profit. You can then proceed to derive Gross Margin in similar way, but thats the direction for now which you cna follow.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 10:04:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-Computation/m-p/1291420#M860473</guid>
      <dc:creator>girirajsinh</dc:creator>
      <dc:date>2017-01-24T10:04:16Z</dc:date>
    </item>
  </channel>
</rss>

