<?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: Above, below and dual in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Above-below-and-dual/m-p/736820#M1079924</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above() - Will give you the previous row column value in the current row in Straight or Pivot table or charts.&amp;nbsp; Refer help file for more detailed help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Above([Sales], 1)&amp;nbsp; - Gives you the Sales (Expression name) value in the previous row&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Above([Sales], 2) - Gives you the Sales (Expression name) value in the second previous row&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Above(Sum(SalesAmount), 1) - Gives you the Sum(SalesAmount) value in the previous row&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below() - Will give you the next row column value in the current row in Straight or Pivot table or charts.&amp;nbsp; Refer help file for more detailed help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Below([Sales], 1)&amp;nbsp; - Gives you the Sales (Expression name) value in the next row&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Below([Sales], 2) - Gives you the Sales (Expression name) value in the second next row&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Below(Sum(SalesAmount), 1) - Gives you the Sum(SalesAmount) value in the next row&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dual() - Forced association of an arbitrary string representation &lt;SPAN class="Italic"&gt;s&lt;/SPAN&gt; with a given number representation &lt;SPAN class="Italic"&gt;x&lt;/SPAN&gt;. In QlikView, when several data items read into one field have different string representations but the same valid number representation, they will all share the first string representation encountered. This function can be used in scripts and chart expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is used when we are handling Months/Days especially,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load dual ( string,numrep ) as DayOfWeek inline &lt;/P&gt;&lt;P&gt;[ string,numrep &lt;/P&gt;&lt;P&gt;Monday,0 &lt;/P&gt;&lt;P&gt;Tuesday,1 &lt;/P&gt;&lt;P&gt;Wednesday,2 &lt;/P&gt;&lt;P&gt;Thursday,3 &lt;/P&gt;&lt;P&gt;Friday,4 &lt;/P&gt;&lt;P&gt;Saturday,5 &lt;/P&gt;&lt;P&gt;Sunday,6 ]; &lt;/P&gt;&lt;P&gt;load Date, weekday(Date) as DayOfWeek from afile.csv; &lt;/P&gt;&lt;P&gt;The script example will generate a field DayOfWeek with the weekdays written in clear text. QlikView will for all purposes regard the field as a numeric field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jul 2014 04:00:24 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2014-07-09T04:00:24Z</dc:date>
    <item>
      <title>Above, below and dual</title>
      <link>https://community.qlik.com/t5/QlikView/Above-below-and-dual/m-p/736819#M1079922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;BR /&gt;I need some brief conceptual on Above, Below , Dual and how these are used with Total function with an example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 03:24:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Above-below-and-dual/m-p/736819#M1079922</guid>
      <dc:creator />
      <dc:date>2014-07-09T03:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Above, below and dual</title>
      <link>https://community.qlik.com/t5/QlikView/Above-below-and-dual/m-p/736820#M1079924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above() - Will give you the previous row column value in the current row in Straight or Pivot table or charts.&amp;nbsp; Refer help file for more detailed help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Above([Sales], 1)&amp;nbsp; - Gives you the Sales (Expression name) value in the previous row&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Above([Sales], 2) - Gives you the Sales (Expression name) value in the second previous row&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Above(Sum(SalesAmount), 1) - Gives you the Sum(SalesAmount) value in the previous row&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below() - Will give you the next row column value in the current row in Straight or Pivot table or charts.&amp;nbsp; Refer help file for more detailed help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Below([Sales], 1)&amp;nbsp; - Gives you the Sales (Expression name) value in the next row&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Below([Sales], 2) - Gives you the Sales (Expression name) value in the second next row&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Below(Sum(SalesAmount), 1) - Gives you the Sum(SalesAmount) value in the next row&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dual() - Forced association of an arbitrary string representation &lt;SPAN class="Italic"&gt;s&lt;/SPAN&gt; with a given number representation &lt;SPAN class="Italic"&gt;x&lt;/SPAN&gt;. In QlikView, when several data items read into one field have different string representations but the same valid number representation, they will all share the first string representation encountered. This function can be used in scripts and chart expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is used when we are handling Months/Days especially,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load dual ( string,numrep ) as DayOfWeek inline &lt;/P&gt;&lt;P&gt;[ string,numrep &lt;/P&gt;&lt;P&gt;Monday,0 &lt;/P&gt;&lt;P&gt;Tuesday,1 &lt;/P&gt;&lt;P&gt;Wednesday,2 &lt;/P&gt;&lt;P&gt;Thursday,3 &lt;/P&gt;&lt;P&gt;Friday,4 &lt;/P&gt;&lt;P&gt;Saturday,5 &lt;/P&gt;&lt;P&gt;Sunday,6 ]; &lt;/P&gt;&lt;P&gt;load Date, weekday(Date) as DayOfWeek from afile.csv; &lt;/P&gt;&lt;P&gt;The script example will generate a field DayOfWeek with the weekdays written in clear text. QlikView will for all purposes regard the field as a numeric field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 04:00:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Above-below-and-dual/m-p/736820#M1079924</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-07-09T04:00:24Z</dc:date>
    </item>
  </channel>
</rss>

