<?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 Expression with current/relative position in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-with-current-relative-position/m-p/625138#M548467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a list of 50 measures, I need to change my pivot table, to add the ratio of each of this measure on [NET SALES].&lt;/P&gt;&lt;P&gt;To reference an expression, I can ether use its label ex: =[NET SALES] or its position = Column(1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume I will have to add 50 entries in my pivot table, but I wish they share the same formula (that I can put later as a variable) such as &lt;/P&gt;&lt;P&gt;=Column(CurrentPosition-1)/[NET SALES]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I retrieve the current position of an expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 619px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" width="240"&gt;NET SALES&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl24" height="17" style="border-top: none;"&gt;Cost of Sales&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl26" height="17" style="border-top: none;"&gt;%NET SALES&lt;/TD&gt;&lt;TD&gt;=[Cost of Sales]/[NET SALES]&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl24" height="17" style="border-top: none;"&gt;Warehousing&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl26" height="17" style="border-top: none;"&gt;%NET SALES&lt;/TD&gt;&lt;TD&gt;=[Warehousing]/[NET SALES]&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl24" height="17" style="border-top: none;"&gt;Freight &amp;amp; Delivery&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl26" height="17" style="border-top: none;"&gt;%NET SALES&lt;/TD&gt;&lt;TD&gt;=[Freight &amp;amp; Delivery]/[NET SALES]&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Feb 2014 04:19:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-10T04:19:07Z</dc:date>
    <item>
      <title>Expression with current/relative position</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-with-current-relative-position/m-p/625138#M548467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a list of 50 measures, I need to change my pivot table, to add the ratio of each of this measure on [NET SALES].&lt;/P&gt;&lt;P&gt;To reference an expression, I can ether use its label ex: =[NET SALES] or its position = Column(1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume I will have to add 50 entries in my pivot table, but I wish they share the same formula (that I can put later as a variable) such as &lt;/P&gt;&lt;P&gt;=Column(CurrentPosition-1)/[NET SALES]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I retrieve the current position of an expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 619px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl25" height="17" width="240"&gt;NET SALES&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl24" height="17" style="border-top: none;"&gt;Cost of Sales&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl26" height="17" style="border-top: none;"&gt;%NET SALES&lt;/TD&gt;&lt;TD&gt;=[Cost of Sales]/[NET SALES]&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl24" height="17" style="border-top: none;"&gt;Warehousing&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl26" height="17" style="border-top: none;"&gt;%NET SALES&lt;/TD&gt;&lt;TD&gt;=[Warehousing]/[NET SALES]&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl24" height="17" style="border-top: none;"&gt;Freight &amp;amp; Delivery&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl26" height="17" style="border-top: none;"&gt;%NET SALES&lt;/TD&gt;&lt;TD&gt;=[Freight &amp;amp; Delivery]/[NET SALES]&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 04:19:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-with-current-relative-position/m-p/625138#M548467</guid>
      <dc:creator />
      <dc:date>2014-02-10T04:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Expression with current/relative position</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-with-current-relative-position/m-p/625139#M548468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you attache the sample app for the same?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 09:59:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-with-current-relative-position/m-p/625139#M548468</guid>
      <dc:creator />
      <dc:date>2014-02-10T09:59:07Z</dc:date>
    </item>
  </channel>
</rss>

