<?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 how to get value in table column and use it in set analysis? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-get-value-in-table-column-and-use-it-in-set-analysis/m-p/76404#M607730</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a report that will calculate by context as below.&lt;/P&gt;&lt;P&gt;The first Open Backlog is saved in database, then latter will be calculated as: Open Backlog + Order - Shipment = Backlog = Next Open Backlog.&lt;/P&gt;&lt;P&gt;Currently I am using expression as : If(RowNo(total)=1, Sum(Total Netbl),Above(TOTAL [Backlog],1))&lt;/P&gt;&lt;P&gt;The problem is, if I select year 2018, then I will lose the beginning backlog so the result will be wrong.&lt;/P&gt;&lt;P&gt;To solve this, I am thinking to calculate with a way like:&lt;/P&gt;&lt;P&gt;Backlog = Sum(Total Netbl) + Sum({&amp;lt;Week={'&amp;lt;current week'}&amp;gt;} Order) - Sum({&amp;lt;Week={'&amp;lt;current week'}&amp;gt;} Shipment)&lt;/P&gt;&lt;P&gt;So is there a way to get the value of "current week" which is presented in the column "week"?&lt;/P&gt;&lt;P&gt;Or is there other solution to avoid the issue?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="backlog.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/194297_backlog.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Feb 2018 06:09:14 GMT</pubDate>
    <dc:creator>achates2008</dc:creator>
    <dc:date>2018-02-23T06:09:14Z</dc:date>
    <item>
      <title>how to get value in table column and use it in set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-value-in-table-column-and-use-it-in-set-analysis/m-p/76404#M607730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a report that will calculate by context as below.&lt;/P&gt;&lt;P&gt;The first Open Backlog is saved in database, then latter will be calculated as: Open Backlog + Order - Shipment = Backlog = Next Open Backlog.&lt;/P&gt;&lt;P&gt;Currently I am using expression as : If(RowNo(total)=1, Sum(Total Netbl),Above(TOTAL [Backlog],1))&lt;/P&gt;&lt;P&gt;The problem is, if I select year 2018, then I will lose the beginning backlog so the result will be wrong.&lt;/P&gt;&lt;P&gt;To solve this, I am thinking to calculate with a way like:&lt;/P&gt;&lt;P&gt;Backlog = Sum(Total Netbl) + Sum({&amp;lt;Week={'&amp;lt;current week'}&amp;gt;} Order) - Sum({&amp;lt;Week={'&amp;lt;current week'}&amp;gt;} Shipment)&lt;/P&gt;&lt;P&gt;So is there a way to get the value of "current week" which is presented in the column "week"?&lt;/P&gt;&lt;P&gt;Or is there other solution to avoid the issue?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="backlog.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/194297_backlog.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 06:09:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-value-in-table-column-and-use-it-in-set-analysis/m-p/76404#M607730</guid>
      <dc:creator>achates2008</dc:creator>
      <dc:date>2018-02-23T06:09:14Z</dc:date>
    </item>
  </channel>
</rss>

