<?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: using above on an expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/using-above-on-an-expression/m-p/952982#M965761</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think the help column may be the way to go however im confusing myself as to how i would set that up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ill make an attempt to explain;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 128px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="64"&gt;a&lt;/TD&gt;&lt;TD width="64"&gt;b&lt;/TD&gt;&lt;TD width="64"&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;10&lt;/TD&gt;&lt;TD align="right"&gt;5&lt;/TD&gt;&lt;TD align="right"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;20&lt;/TD&gt;&lt;TD align="right"&gt;10&lt;/TD&gt;&lt;TD align="right"&gt;900&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;30&lt;/TD&gt;&lt;TD align="right"&gt;10&lt;/TD&gt;&lt;TD align="right"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;40&lt;/TD&gt;&lt;TD align="right"&gt;5&lt;/TD&gt;&lt;TD align="right"&gt;1100&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i want my formula to do is starting at 1000 if column a is less than 21 AND column b is greater than 5 then minus 100, if not add 100.&lt;/P&gt;&lt;P&gt;C represents what the result would be&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 11 Oct 2015 11:38:31 GMT</pubDate>
    <dc:creator>samuel_brierley</dc:creator>
    <dc:date>2015-10-11T11:38:31Z</dc:date>
    <item>
      <title>using above on an expression</title>
      <link>https://community.qlik.com/t5/QlikView/using-above-on-an-expression/m-p/952979#M965758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible in an expression to use above on its self? so for example my calculated field may be;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;above(myfself,1)- 100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would use an ifnull put 1000 to account for the first field being null so it would go &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calculated field &lt;/P&gt;&lt;P&gt;1000&lt;/P&gt;&lt;P&gt;900&lt;/P&gt;&lt;P&gt;800&lt;/P&gt;&lt;P&gt;and so on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thats a very simplistic example but hopefully is enough to trigger some good ideas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Oct 2015 11:01:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-above-on-an-expression/m-p/952979#M965758</guid>
      <dc:creator>samuel_brierley</dc:creator>
      <dc:date>2015-10-11T11:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: using above on an expression</title>
      <link>https://community.qlik.com/t5/QlikView/using-above-on-an-expression/m-p/952980#M965759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;if you look to create a floating dimension with no connection to the data&lt;/P&gt;&lt;P&gt;you can use valueloop function &lt;/P&gt;&lt;P&gt;=ValueLoop(1000,0,-100)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Oct 2015 11:27:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-above-on-an-expression/m-p/952980#M965759</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2015-10-11T11:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: using above on an expression</title>
      <link>https://community.qlik.com/t5/QlikView/using-above-on-an-expression/m-p/952981#M965760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot directly reference the same column but you can achieve what you want by using an intermediate/helper column. If you need you can hide this helper column because it is not normally useful except for this particular function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Oct 2015 11:30:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-above-on-an-expression/m-p/952981#M965760</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-10-11T11:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: using above on an expression</title>
      <link>https://community.qlik.com/t5/QlikView/using-above-on-an-expression/m-p/952982#M965761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think the help column may be the way to go however im confusing myself as to how i would set that up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ill make an attempt to explain;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 128px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="64"&gt;a&lt;/TD&gt;&lt;TD width="64"&gt;b&lt;/TD&gt;&lt;TD width="64"&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;10&lt;/TD&gt;&lt;TD align="right"&gt;5&lt;/TD&gt;&lt;TD align="right"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;20&lt;/TD&gt;&lt;TD align="right"&gt;10&lt;/TD&gt;&lt;TD align="right"&gt;900&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;30&lt;/TD&gt;&lt;TD align="right"&gt;10&lt;/TD&gt;&lt;TD align="right"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;40&lt;/TD&gt;&lt;TD align="right"&gt;5&lt;/TD&gt;&lt;TD align="right"&gt;1100&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i want my formula to do is starting at 1000 if column a is less than 21 AND column b is greater than 5 then minus 100, if not add 100.&lt;/P&gt;&lt;P&gt;C represents what the result would be&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Oct 2015 11:38:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-above-on-an-expression/m-p/952982#M965761</guid>
      <dc:creator>samuel_brierley</dc:creator>
      <dc:date>2015-10-11T11:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: using above on an expression</title>
      <link>https://community.qlik.com/t5/QlikView/using-above-on-an-expression/m-p/952983#M965762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually you CAN directly reference the same column - but using helper columns can help you break down the challenge of creating a solution into a more stepwise approach making it easier to solve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at what I have attached it is close to what you want - but I didn't quite understand all of your explanation of logic. Have a loook at it and see if you can make it work for you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-10-11 #4.PNG" class="jive-image image-1" src="/legacyfs/online/101669_2015-10-11 #4.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Oct 2015 12:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-above-on-an-expression/m-p/952983#M965762</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-10-11T12:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: using above on an expression</title>
      <link>https://community.qlik.com/t5/QlikView/using-above-on-an-expression/m-p/952984#M965763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brilliant thank you!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Oct 2015 12:10:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-above-on-an-expression/m-p/952984#M965763</guid>
      <dc:creator>samuel_brierley</dc:creator>
      <dc:date>2015-10-11T12:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: using above on an expression</title>
      <link>https://community.qlik.com/t5/QlikView/using-above-on-an-expression/m-p/952985#M965764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My pleasure - please mark the question as answered so the thread can be closed &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Oct 2015 19:55:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-above-on-an-expression/m-p/952985#M965764</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-10-11T19:55:47Z</dc:date>
    </item>
  </channel>
</rss>

