<?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: How to calculate first row/column after implementing after/before function? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78930#M767322</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was confused earlier. Now understood your query trying on that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jun 2018 07:51:31 GMT</pubDate>
    <dc:creator>raajaswin</dc:creator>
    <dc:date>2018-06-26T07:51:31Z</dc:date>
    <item>
      <title>How to calculate first row/column after implementing after/before function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78927#M767319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea on how to approach this? I would like to select a range of dates but the first column should still calculate the difference of the "working day" before.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot pivot table with the following columns: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Week, &lt;/P&gt;&lt;P&gt;Date, &lt;/P&gt;&lt;P&gt;Accumalative Total, &lt;/P&gt;&lt;P&gt;Difference with day before. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is, when I select week 26 for example, the column "Difference with day before" for the 25-06-2018 is always empty. This is because the the 24th hasn't been selected. Also when I select a range of date, 26-6-2018 to 27-06-2018, the &lt;SPAN style="font-size: 13.3333px;"&gt;column "Difference with day before" for the 26-06-2018 is empty with the same reason. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;How can I best solve this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to add the following formula =if(ColumnNo() = 1,'Y','T') but whenever i'm adding the calculations I get "-".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&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/How-to-calculate-first-row-column-after-implementing-after/m-p/78927#M767319</guid>
      <dc:creator>mrichman</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate first row/column after implementing after/before function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78928#M767320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First Expression you have used some if and range sum. when we select some day the result of your expression and the result of just count (distinct ) is same. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 07:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78928#M767320</guid>
      <dc:creator>raajaswin</dc:creator>
      <dc:date>2018-06-26T07:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate first row/column after implementing after/before function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78929#M767321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aswin, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your message. I don't understand what you mean. Could you please elaborate. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 07:44:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78929#M767321</guid>
      <dc:creator>mrichman</dc:creator>
      <dc:date>2018-06-26T07:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate first row/column after implementing after/before function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78930#M767322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was confused earlier. Now understood your query trying on that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 07:51:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78930#M767322</guid>
      <dc:creator>raajaswin</dc:creator>
      <dc:date>2018-06-26T07:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate first row/column after implementing after/before function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78931#M767323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this in your second expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;=before&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;rangesum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;[Accumalative Total]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0,0)) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 08:03:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78931#M767323</guid>
      <dc:creator>raajaswin</dc:creator>
      <dc:date>2018-06-26T08:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate first row/column after implementing after/before function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78932#M767324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aswin, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your prompt reply. It is still not working. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you select week 26, then 25-06-2018 is empty. It should also calculate the difference between 25-06-2018 the working day before, in this case 24-06-2018. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 08:28:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78932#M767324</guid>
      <dc:creator>mrichman</dc:creator>
      <dc:date>2018-06-26T08:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate first row/column after implementing after/before function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78933#M767325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share your expected output ? I am not able to understand your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;KC &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 09:21:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78933#M767325</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2018-06-26T09:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate first row/column after implementing after/before function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78934#M767326</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;STRONG&gt;If(Match(Status, 'Level 1', 'Level 2'),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(DISTINCT ClientNumber),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(TOTAL &amp;lt;Team, Date&amp;gt; DISTINCT ClientNumber) - RangeSum(Above(Count(DISTINCT ClientNumber), 1, RowNo())))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Before(TOTAL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Match(Only({1}Status), 'Level 1', 'Level 2'),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;Date&amp;gt;} DISTINCT ClientNumber),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;Date&amp;gt;}TOTAL &amp;lt;Team, Date&amp;gt; DISTINCT ClientNumber) - RangeSum(Above(Count({&amp;lt;Date&amp;gt;}DISTINCT ClientNumber), 1, RowNo()))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/206225_Capture.PNG" style="height: 176px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 11:31:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78934#M767326</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-26T11:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate first row/column after implementing after/before function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78935#M767327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jyothish KC. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your message. Here's the sample. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 11:32:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78935#M767327</guid>
      <dc:creator>mrichman</dc:creator>
      <dc:date>2018-06-26T11:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate first row/column after implementing after/before function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78936#M767328</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;Thanks for the reply. Almost. The output is what I want, but now i'm unable to select the week or date in the pivot table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you maybe have another solution? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 13:27:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78936#M767328</guid>
      <dc:creator>mrichman</dc:creator>
      <dc:date>2018-06-26T13:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate first row/column after implementing after/before function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78937#M767329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, what do you mean you are unable to select Week or Date in the table? The screenshot above shows the Date selected... week is a calculated dimension made up of date field (Week(Date)) that is why the current selection shows the Date when I selected Week 26.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second, the other option and rather a better one would be to use &lt;A href="https://community.qlik.com/qlik-blogpost/4531"&gt;The As-Of Table&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 13:30:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78937#M767329</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-26T13:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate first row/column after implementing after/before function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78938#M767330</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;Thank you for your message. I Have attached an attachment regarding the error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Furthermore, the As-Of-Table was already recommended by you last time. However, i'm not known on how to implement it. Even after trying. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 13:46:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78938#M767330</guid>
      <dc:creator>mrichman</dc:creator>
      <dc:date>2018-06-26T13:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate first row/column after implementing after/before function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78939#M767331</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;STRONG&gt;(If(Match(Status, 'Level 1', 'Level 2'),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(DISTINCT ClientNumber),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(TOTAL &amp;lt;Team, Date&amp;gt; DISTINCT ClientNumber) - RangeSum(Above(Count(DISTINCT ClientNumber), 1, RowNo())))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Before(TOTAL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Match(Only({1}Status), 'Level 1', 'Level 2'),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;Date&amp;gt;} DISTINCT ClientNumber),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;Date&amp;gt;}TOTAL &amp;lt;Team, Date&amp;gt; DISTINCT ClientNumber) - RangeSum(Above(Count({&amp;lt;Date&amp;gt;}DISTINCT ClientNumber), 1, RowNo()))))) * Avg(1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/206263_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 13:50:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78939#M767331</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-26T13:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate first row/column after implementing after/before function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78940#M767332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help sunny! I had to change some things in the formula but I believe it's working properly now. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jun 2018 06:16:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-first-row-column-after-implementing-after/m-p/78940#M767332</guid>
      <dc:creator>mrichman</dc:creator>
      <dc:date>2018-06-30T06:16:30Z</dc:date>
    </item>
  </channel>
</rss>

