<?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: Percentage Variance on Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1830193#M1214429</link>
    <description>&lt;P&gt;I agree with Steve Joyce, you are not looking for how much each bundle represents over the total percentage, you need to know how much it changed compared to the previous day. For that you will have to calculate the following:&lt;/P&gt;&lt;P&gt;1. SUM ({&amp;lt;DATE = {'$ (= max (DATE))'}&amp;gt;} REVENUE) this is the last registered value&lt;/P&gt;&lt;P&gt;2.SUM ({&amp;lt;DATE = {'$ (= Date (max (DATE) -1))'}&amp;gt;} REVENUE) this is the value of the previous day&lt;/P&gt;&lt;P&gt;3.(SUM ({&amp;lt;DATE = {'$ (= max (DATE))'}&amp;gt;} REVENUE) / SUM ({&amp;lt;DATE = {'$ (= Date (max (DATE) -1))'}&amp;gt;} REVENUE))-1&lt;/P&gt;&lt;P&gt;this is the percentage difference you are looking for.&lt;/P&gt;&lt;P&gt;Take the date dimension from the graph and generate each expression per day that you need, you can do it for the last 30 days or something like that.&lt;BR /&gt;If you show us how the data is loaded in the table, maybe another solution can be applied&lt;/P&gt;&lt;P&gt;something like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tincholiver_1-1629461824095.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/60528i8E197C6CB57AEFEE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tincholiver_1-1629461824095.png" alt="tincholiver_1-1629461824095.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Aug 2021 12:17:22 GMT</pubDate>
    <dc:creator>tincholiver</dc:creator>
    <dc:date>2021-08-20T12:17:22Z</dc:date>
    <item>
      <title>Percentage Variance on Table</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1829186#M1214285</link>
      <description>&lt;P&gt;In my situation I have a line in which each column represents the revenue of each day for a product, I want to obtain the variance in percentage. For example, In the total revenue of products for those days, I want to know what is the percentage of each day in the total sum.&lt;/P&gt;&lt;P&gt;Ex: Total sum of DATE revenue for the days is 100, and for each day I have values like 20, 40, 10, 30. I need to know what is the percentage of each of these values in the total sum of each product&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot_1.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/60221i6B7C1D2CA47D6C59/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_1.png" alt="Screenshot_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 18:15:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1829186#M1214285</guid>
      <dc:creator>Venancioe</dc:creator>
      <dc:date>2021-08-17T18:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Variance on Table</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1829343#M1214304</link>
      <description>&lt;P&gt;Your denominator would be Sum(TOTAL &amp;lt;PRODUCT&amp;gt;} Revenue) .&lt;/P&gt;&lt;P&gt;Obviously your existing revenue calculation is the numerator.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 09:37:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1829343#M1214304</guid>
      <dc:creator>stevejoyce</dc:creator>
      <dc:date>2021-08-18T09:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Variance on Table</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1829424#M1214319</link>
      <description>&lt;P&gt;Hi Stevejoyce&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is not working as expected, it showing the same values for entire table&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot_2.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/60282i7BA0929BA36092D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_2.png" alt="Screenshot_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 12:52:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1829424#M1214319</guid>
      <dc:creator>Venancioe</dc:creator>
      <dc:date>2021-08-18T12:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Variance on Table</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1829444#M1214328</link>
      <description>&lt;P&gt;TRY THIS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SUM(REVENUE)&lt;BR /&gt;/&lt;BR /&gt;Aggr(NODISTINCT SUM(REVENUE),DATE)&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 13:22:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1829444#M1214328</guid>
      <dc:creator>tincholiver</dc:creator>
      <dc:date>2021-08-18T13:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Variance on Table</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1829564#M1214346</link>
      <description>&lt;P&gt;thanks Tincholiver&lt;/P&gt;&lt;P&gt;Its working, but I think is comparing on the vertical(complete column) for the current date.&lt;/P&gt;&lt;P&gt;What I want is to compare the product revenue of Previous day with product revenue of Next day and so on&lt;/P&gt;&lt;P&gt;Like: AIRTIME ADVANCE&lt;/P&gt;&lt;P&gt;Compare revenue of 8/3/2021 with&amp;nbsp; 8/4/2021 ,&lt;/P&gt;&lt;P&gt;8/4/2021 with&amp;nbsp; 8/5/2021&amp;nbsp; and so on&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot_3.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/60309iDECA048F7B6C39CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_3.png" alt="Screenshot_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 20:24:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1829564#M1214346</guid>
      <dc:creator>Venancioe</dc:creator>
      <dc:date>2021-08-18T20:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Variance on Table</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1829578#M1214347</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/147763"&gt;@Venancioe&lt;/a&gt;&amp;nbsp; share sample data with expected output&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 21:47:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1829578#M1214347</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2021-08-18T21:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Variance on Table</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1829956#M1214398</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot_4.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/60458i814827E94170BFC7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_4.png" alt="Screenshot_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Find here the sample. I want something like this one marked with red&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 19:36:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1829956#M1214398</guid>
      <dc:creator>Venancioe</dc:creator>
      <dc:date>2021-08-19T19:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Variance on Table</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1830158#M1214421</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/147763"&gt;@Venancioe&lt;/a&gt;&amp;nbsp; how % calculated?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 10:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1830158#M1214421</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2021-08-20T10:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Variance on Table</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1830172#M1214425</link>
      <description>&lt;P&gt;Your initial calculation you said "&lt;SPAN&gt;percentage of each of these values in the total sum of each product".&amp;nbsp; This sounds like a different calculation no?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can use before/after to calculate referencing other columns&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;like sum(expression) - before(sum(expression)) -&amp;gt; difference between today's date and previous date.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 11:01:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1830172#M1214425</guid>
      <dc:creator>stevejoyce</dc:creator>
      <dc:date>2021-08-20T11:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Variance on Table</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1830193#M1214429</link>
      <description>&lt;P&gt;I agree with Steve Joyce, you are not looking for how much each bundle represents over the total percentage, you need to know how much it changed compared to the previous day. For that you will have to calculate the following:&lt;/P&gt;&lt;P&gt;1. SUM ({&amp;lt;DATE = {'$ (= max (DATE))'}&amp;gt;} REVENUE) this is the last registered value&lt;/P&gt;&lt;P&gt;2.SUM ({&amp;lt;DATE = {'$ (= Date (max (DATE) -1))'}&amp;gt;} REVENUE) this is the value of the previous day&lt;/P&gt;&lt;P&gt;3.(SUM ({&amp;lt;DATE = {'$ (= max (DATE))'}&amp;gt;} REVENUE) / SUM ({&amp;lt;DATE = {'$ (= Date (max (DATE) -1))'}&amp;gt;} REVENUE))-1&lt;/P&gt;&lt;P&gt;this is the percentage difference you are looking for.&lt;/P&gt;&lt;P&gt;Take the date dimension from the graph and generate each expression per day that you need, you can do it for the last 30 days or something like that.&lt;BR /&gt;If you show us how the data is loaded in the table, maybe another solution can be applied&lt;/P&gt;&lt;P&gt;something like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tincholiver_1-1629461824095.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/60528i8E197C6CB57AEFEE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tincholiver_1-1629461824095.png" alt="tincholiver_1-1629461824095.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 12:17:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1830193#M1214429</guid>
      <dc:creator>tincholiver</dc:creator>
      <dc:date>2021-08-20T12:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Variance on Table</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1830288#M1214444</link>
      <description>&lt;P&gt;Many thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/30895"&gt;@tincholiver&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I made the changes and analyses on the comments and formula. I'm getting this details&lt;/P&gt;&lt;P&gt;formula used :&lt;/P&gt;&lt;P&gt;(SUM ({&amp;lt;DATE = {'$(=max(REV_DATE))'}&amp;gt;} REVENUE) / SUM ({&amp;lt;DATE = {'$(=Date(max(REV_DATE)-1))'}&amp;gt;} REVENUE))-1&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot_5.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/60542iD11AD59D62B838F8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_5.png" alt="Screenshot_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 23:28:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1830288#M1214444</guid>
      <dc:creator>Venancioe</dc:creator>
      <dc:date>2021-08-20T23:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Variance on Table</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1830300#M1214448</link>
      <description>&lt;P&gt;my pleasure to help you solve it.&lt;BR /&gt;If you found the solution you were looking for, please accept it as a solution to close the case.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Aug 2021 03:33:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1830300#M1214448</guid>
      <dc:creator>tincholiver</dc:creator>
      <dc:date>2021-08-21T03:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Variance on Table</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1830323#M1214452</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Isn't solved yet, Because I'm getting Only Zero Values on the percentages.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;What I've show is that the Date isn't working as a reference of the revenue field&lt;/P&gt;</description>
      <pubDate>Sat, 21 Aug 2021 18:03:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1830323#M1214452</guid>
      <dc:creator>Venancioe</dc:creator>
      <dc:date>2021-08-21T18:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Variance on Table</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1830333#M1214454</link>
      <description>&lt;P&gt;Find here the Sample App, so you can check.&lt;/P&gt;&lt;P&gt;Many thanks mates&lt;/P&gt;</description>
      <pubDate>Sat, 21 Aug 2021 18:01:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1830333#M1214454</guid>
      <dc:creator>Venancioe</dc:creator>
      <dc:date>2021-08-21T18:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Variance on Table</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1830350#M1214457</link>
      <description>&lt;P&gt;You must take the DATE field as a dimension since each expression will return the value you are looking for. You must make an expression for each day you want to calculate&lt;/P&gt;&lt;P&gt;1. Ex. Percentaje diferencie between last and previous date&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;(SUM({&amp;lt;DATE={'$(=max(DATE))'}&amp;gt;}REVENUE) / Aggr(NODISTINCT SUM({&amp;lt;DATE={'$(=max(DATE))'}&amp;gt;}REVENUE),DATE))&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;(SUM({&amp;lt;DATE={'$(=Date(max(DATE)-1))'}&amp;gt;}REVENUE) / Aggr(NODISTINCT SUM({&amp;lt;DATE={'$(=Date(max(DATE)-1))'}&amp;gt;}REVENUE),DATE))&lt;/P&gt;&lt;P&gt;)-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Diference between yesterday and previous date&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;(SUM({&amp;lt;DATE={'$(=Date(max(DATE)-1))'}&amp;gt;}REVENUE) / Aggr(NODISTINCT SUM({&amp;lt;DATE={'$(=Date(max(DATE)-1))'}&amp;gt;}REVENUE),DATE))&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;(SUM({&amp;lt;DATE={'$(=Date(max(DATE)-2))'}&amp;gt;}REVENUE) / Aggr(NODISTINCT SUM({&amp;lt;DATE={'$(=Date(max(DATE)-2))'}&amp;gt;}REVENUE),DATE))&lt;/P&gt;&lt;P&gt;)-1&lt;/P&gt;&lt;P&gt;and so on until you have all the days you are looking for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;with DATE as dimension you will get this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tincholiver_0-1629634158390.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/60553i18E305C57313A327/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tincholiver_0-1629634158390.png" alt="tincholiver_0-1629634158390.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;calculating each day with an expersion you will get this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tincholiver_1-1629634172777.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/60554i1727FCDD2E9694E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tincholiver_1-1629634172777.png" alt="tincholiver_1-1629634172777.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Aug 2021 12:22:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1830350#M1214457</guid>
      <dc:creator>tincholiver</dc:creator>
      <dc:date>2021-08-22T12:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Variance on Table</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1830352#M1214458</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Can you please test those formulas on the app? I'm not getting success&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Aug 2021 13:13:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1830352#M1214458</guid>
      <dc:creator>Venancioe</dc:creator>
      <dc:date>2021-08-22T13:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Variance on Table</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1830354#M1214459</link>
      <description>&lt;P&gt;sorry there was an error in the epression.&lt;/P&gt;&lt;P&gt;I don't have qlik sense. I don't know if you can see my app.&lt;/P&gt;&lt;P&gt;However, put the next in your table:&lt;/P&gt;&lt;P&gt;Dimension: PRODUCT.&lt;/P&gt;&lt;P&gt;Expresion:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Last day vs previous day&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;DATE={'$(=Date(max(DATE)))'}&amp;gt;}REVENUE) / SUM({&amp;lt;DATE={'$(=Date(max(DATE)-1))'}&amp;gt;}REVENUE)&lt;/P&gt;&lt;P&gt;)-1&lt;/P&gt;&lt;P&gt;2. Before:&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;DATE={'$(=Date(max(DATE)-1))'}&amp;gt;}REVENUE) / SUM({&amp;lt;DATE={'$(=Date(max(DATE)-2))'}&amp;gt;}REVENUE)&lt;/P&gt;&lt;P&gt;)-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and so on with each day you want to get that variation&lt;/P&gt;</description>
      <pubDate>Sun, 22 Aug 2021 14:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1830354#M1214459</guid>
      <dc:creator>tincholiver</dc:creator>
      <dc:date>2021-08-22T14:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Variance on Table</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1830371#M1214460</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/147763"&gt;@Venancioe&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Suggesting 2 possible solutions. (used some sample data manually from your screen shot. would have helped if you had shared the data sample file!)&lt;/P&gt;&lt;P&gt;1. Get the next day revenue as an additional field in the script, then use it for calculation of var percentage in the front end.&lt;/P&gt;&lt;P&gt;2. Alternative use "Above" function but you need to switch Date as rows and Product as columns for this to work.&lt;/P&gt;&lt;P&gt;I have attached the qvw file with both options for your review. See the screen shot below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NageshSG_0-1629650005838.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/60558iBAD45E710012A909/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NageshSG_0-1629650005838.png" alt="NageshSG_0-1629650005838.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Aug 2021 16:36:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1830371#M1214460</guid>
      <dc:creator>NageshSG</dc:creator>
      <dc:date>2021-08-22T16:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Variance on Table</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1830767#M1214508</link>
      <description>&lt;P&gt;Hi.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Find the sample&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 10:46:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1830767#M1214508</guid>
      <dc:creator>Venancioe</dc:creator>
      <dc:date>2021-08-24T10:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Variance on Table</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1830777#M1214509</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/147763"&gt;@Venancioe&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the sample data.&lt;/P&gt;&lt;P&gt;I refreshed the qvw file (revised file attached below) sent earlier with minor changes based on the sample data now provided.&lt;/P&gt;&lt;P&gt;Save the qvw file and the excel file in the same location and run it, in case you want to update with actual data.&lt;/P&gt;&lt;P&gt;You have the option choose either of the solutions suggested by me earlier.&lt;/P&gt;&lt;P&gt;Hope this works!&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 11:23:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Variance-on-Table/m-p/1830777#M1214509</guid>
      <dc:creator>NageshSG</dc:creator>
      <dc:date>2021-08-24T11:23:15Z</dc:date>
    </item>
  </channel>
</rss>

