<?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: Divide all values by one value from the table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Divide-all-values-by-one-value-from-the-table/m-p/1561637#M40904</link>
    <description>&lt;P&gt;I've got the same issue but across I have it for several months. Using total appears to total revenue for all months before dividing. Is there a way to total revenue for that column and divide all values in that column for it?&lt;/P&gt;</description>
    <pubDate>Wed, 27 Mar 2019 00:25:15 GMT</pubDate>
    <dc:creator>jmdenny10</dc:creator>
    <dc:date>2019-03-27T00:25:15Z</dc:date>
    <item>
      <title>Divide all values by one value from the table</title>
      <link>https://community.qlik.com/t5/App-Development/Divide-all-values-by-one-value-from-the-table/m-p/1261963#M25723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Profit And Loss statement table like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PNL Head&amp;nbsp; - Amount&lt;/P&gt;&lt;P&gt;Revenue - 500&lt;/P&gt;&lt;P&gt;Cost of sales - 200&lt;/P&gt;&lt;P&gt;Gross Profit - 300&lt;/P&gt;&lt;P&gt;Other Expense - 100&lt;/P&gt;&lt;P&gt;Net Income - 200&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to show this table on the screen;&amp;nbsp; I would like to show a calculated column also which is the % age of PNL Head values with the total Revenue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The final table should look like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PNL Head - Amount - %&lt;/P&gt;&lt;P&gt;Revenue - 500 - 100&lt;/P&gt;&lt;P&gt;Cost of Sales - 200 -&amp;nbsp; 40&lt;/P&gt;&lt;P&gt;Gross Profit - 300 - 60&lt;/P&gt;&lt;P&gt;Other Expenses - 100 - 20&lt;/P&gt;&lt;P&gt;Net Income - 200 - 40&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls let me know how to calculate the % column.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 09:49:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Divide-all-values-by-one-value-from-the-table/m-p/1261963#M25723</guid>
      <dc:creator>madnanansari</dc:creator>
      <dc:date>2017-02-13T09:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Divide all values by one value from the table</title>
      <link>https://community.qlik.com/t5/App-Development/Divide-all-values-by-one-value-from-the-table/m-p/1261964#M25724</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;you can use the expression as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(Amount) / Sum({&amp;lt;PNL_HEAD = {"Revenue"}&amp;gt;}Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension will be PNL_Head&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 09:57:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Divide-all-values-by-one-value-from-the-table/m-p/1261964#M25724</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2017-02-13T09:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Divide all values by one value from the table</title>
      <link>https://community.qlik.com/t5/App-Development/Divide-all-values-by-one-value-from-the-table/m-p/1261965#M25725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you missed the TOTAL Qualifier&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;&lt;STRONG&gt;Sum(Amount) / Sum(&lt;SPAN style="color: #ff0000;"&gt;TOTAL&lt;/SPAN&gt; {&amp;lt;PNL_HEAD = {"Revenue"}&amp;gt;}Amount)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 10:30:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Divide-all-values-by-one-value-from-the-table/m-p/1261965#M25725</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-13T10:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Divide all values by one value from the table</title>
      <link>https://community.qlik.com/t5/App-Development/Divide-all-values-by-one-value-from-the-table/m-p/1261966#M25726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont think so it would be required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me test it though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 10:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Divide-all-values-by-one-value-from-the-table/m-p/1261966#M25726</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2017-02-13T10:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Divide all values by one value from the table</title>
      <link>https://community.qlik.com/t5/App-Development/Divide-all-values-by-one-value-from-the-table/m-p/1261967#M25727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Adnan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trust that you are doing great!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a workaround please follow below steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create a variable vRevenue with following definition:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;=Sum({&amp;lt;[PNL Head] = {"Revenue"}&amp;gt;}Amount)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2. Create a Straight Table with [PNL Head] as dimension&lt;/P&gt;&lt;P&gt;3. Add &lt;STRONG&gt;&lt;EM&gt;Sum(Amount)&lt;/EM&gt;&lt;/STRONG&gt; as expression i.e. &lt;STRONG&gt;&lt;EM&gt;Amount&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;4. Add another expression % age wrt. Revenue with following definition:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Sum(Amount) / $(vRevenue)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 10:37:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Divide-all-values-by-one-value-from-the-table/m-p/1261967#M25727</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-02-13T10:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Divide all values by one value from the table</title>
      <link>https://community.qlik.com/t5/App-Development/Divide-all-values-by-one-value-from-the-table/m-p/1261968#M25728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You Are right as usual. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is required. Thanks for corrections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 10:37:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Divide-all-values-by-one-value-from-the-table/m-p/1261968#M25728</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2017-02-13T10:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Divide all values by one value from the table</title>
      <link>https://community.qlik.com/t5/App-Development/Divide-all-values-by-one-value-from-the-table/m-p/1261969#M25729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think when you use this&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({&amp;lt;PNL_HEAD = {"Revenue"}&amp;gt;}Amount)&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;It will put the revenue amount only on the PNL_HEAD row where it equals Revenue. To show it across all the rows, you will need to add TOTAL. &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;But do let me know how the testing goes. I will be curious to know.&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;Best,&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;Sunny&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 10:37:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Divide-all-values-by-one-value-from-the-table/m-p/1261969#M25729</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-13T10:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Divide all values by one value from the table</title>
      <link>https://community.qlik.com/t5/App-Development/Divide-all-values-by-one-value-from-the-table/m-p/1561637#M40904</link>
      <description>&lt;P&gt;I've got the same issue but across I have it for several months. Using total appears to total revenue for all months before dividing. Is there a way to total revenue for that column and divide all values in that column for it?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2019 00:25:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Divide-all-values-by-one-value-from-the-table/m-p/1561637#M40904</guid>
      <dc:creator>jmdenny10</dc:creator>
      <dc:date>2019-03-27T00:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Divide all values by one value from the table</title>
      <link>https://community.qlik.com/t5/App-Development/Divide-all-values-by-one-value-from-the-table/m-p/1944893#M77865</link>
      <description>&lt;P&gt;Thank you for the Article. I think this has provided us with the results that we need. Our Team is looking more into it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 03:16:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Divide-all-values-by-one-value-from-the-table/m-p/1944893#M77865</guid>
      <dc:creator>SundarAnupindi</dc:creator>
      <dc:date>2022-06-17T03:16:25Z</dc:date>
    </item>
  </channel>
</rss>

