<?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: Evaluate all data in pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Evaluate-all-data-in-pivot-table/m-p/1796120#M1211234</link>
    <description>&lt;P&gt;Take a look at the Above() and Before() functions in the Help.&lt;/P&gt;</description>
    <pubDate>Wed, 31 Mar 2021 17:13:03 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2021-03-31T17:13:03Z</dc:date>
    <item>
      <title>Evaluate all data in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-all-data-in-pivot-table/m-p/1796087#M1211227</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I have a dataset with multiple numbers which identify an specific event during a period of time. This event might repeat over time, so, for example, I might get event 1 on January and February. I am using a Count Distinct function to identify the exact number of events per month,&amp;nbsp; using month on the columns of a table:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Event&lt;/TD&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;January&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;January&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;January&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;February&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;February&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;February&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;February&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;February&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;February&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;February&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this data set the result of my function would be:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;January&lt;/TD&gt;&lt;TD&gt;February&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I would like to see is the distinct number of events evaluated during the beginning of the period and until the column date, in our example January would evaluate the distinct number of events during January only, but February would have to evaluate January and February with the following results:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;January&lt;/TD&gt;&lt;TD&gt;February&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 15:26:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-all-data-in-pivot-table/m-p/1796087#M1211227</guid>
      <dc:creator>cpleon</dc:creator>
      <dc:date>2021-03-31T15:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate all data in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-all-data-in-pivot-table/m-p/1796120#M1211234</link>
      <description>&lt;P&gt;Take a look at the Above() and Before() functions in the Help.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 17:13:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-all-data-in-pivot-table/m-p/1796120#M1211234</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2021-03-31T17:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate all data in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-all-data-in-pivot-table/m-p/1796172#M1211242</link>
      <description>&lt;P&gt;Hi, I'm quite new on this. Could you elaborate a bit more on the subject?&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 19:14:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-all-data-in-pivot-table/m-p/1796172#M1211242</guid>
      <dc:creator>cpleon</dc:creator>
      <dc:date>2021-03-31T19:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate all data in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-all-data-in-pivot-table/m-p/1796195#M1211250</link>
      <description>&lt;P&gt;You posted this in New to QlikView. I just want to confirm you are using QlikView, not Qlik Sense, before I answer.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 19:57:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-all-data-in-pivot-table/m-p/1796195#M1211250</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2021-03-31T19:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate all data in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-all-data-in-pivot-table/m-p/1796211#M1211255</link>
      <description>&lt;P&gt;Yes, QlikView&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 20:36:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-all-data-in-pivot-table/m-p/1796211#M1211255</guid>
      <dc:creator>cpleon</dc:creator>
      <dc:date>2021-03-31T20:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate all data in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluate-all-data-in-pivot-table/m-p/1796226#M1211260</link>
      <description>&lt;P&gt;Here is the help for Above()&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/ChartFunctions/InterRecordFunctions/above.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/ChartFunctions/InterRecordFunctions/above.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you read that article, you'll see an example using RangeAvg() to calculate a running avg, which is close to what you are looking for.&amp;nbsp; You want to use RangeSum() to calc a running total&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/ChartFunctions/RangeFunctions/rangesum.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/ChartFunctions/RangeFunctions/rangesum.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For the count parameter (how many rows above to accumulate) in RangeSum you can use RowNo() which represents the number of the current row.&amp;nbsp; Use can also use the Top() function rather than Above().&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you search "running total" on this forum you'll find some more examples.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 22:29:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluate-all-data-in-pivot-table/m-p/1796226#M1211260</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2021-03-31T22:29:22Z</dc:date>
    </item>
  </channel>
</rss>

