<?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 Previous value in dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Previous-value-in-dimension/m-p/199845#M58608</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Johann,&lt;/P&gt;&lt;P&gt;I think this will match your needs.&lt;/P&gt;&lt;P&gt;But you'll have to manage previous when it is first as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;christian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Sep 2010 15:13:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-09-15T15:13:45Z</dc:date>
    <item>
      <title>Previous value in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-value-in-dimension/m-p/199840#M58603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Goodmorning,&lt;/P&gt;&lt;P&gt;I have created a pivot table with some calculated fields about a trip. In this table I would like to attach the same information about the previous and the following/next trip (via drill-down).&lt;/P&gt;&lt;P&gt;So, I'm looking for a solution to calculate a dimension on a specific field (Tripnumber) that shows the previous and next value, related to that Tripnumber and an other field (Vehicle number). Note the previous Tripnumber is not the Tripnumber - 1 !!&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Johann&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 09:36:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-value-in-dimension/m-p/199840#M58603</guid>
      <dc:creator />
      <dc:date>2010-09-14T09:36:57Z</dc:date>
    </item>
    <item>
      <title>Previous value in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-value-in-dimension/m-p/199841#M58604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johann,&lt;/P&gt;&lt;P&gt;you can first organize your table by an "order by", then use in the script previous(Tripnumber) as PrvTripNb to store it in your table.&lt;/P&gt;&lt;P&gt;To get previous and next ,start from 'next' and use previous (previous(Tripnumber)), you get then TripNb as next, previous as current and prev(prev)) as previous&lt;/P&gt;&lt;P&gt;You can then simply use these 3 fields close one to each other&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use the "above" function in the pivot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is an quick example&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 10:22:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-value-in-dimension/m-p/199841#M58604</guid>
      <dc:creator />
      <dc:date>2010-09-14T10:22:27Z</dc:date>
    </item>
    <item>
      <title>Previous value in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-value-in-dimension/m-p/199842#M58605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christian, this is not exactly what I mean. You used the functions as an expression and not as a dimension.&lt;/P&gt;&lt;P&gt;I need to calculate a dimension with these functions to create this kind of report :&lt;/P&gt;&lt;P&gt;Trip + kilometers, hours etc.&lt;BR /&gt; Previous Trip kilometers, hours etc.&lt;BR /&gt;( Next Trip kilometers, hours etc.)&lt;/P&gt;&lt;P&gt;Do you have any other suggestions?&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Johann&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Sep 2010 13:03:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-value-in-dimension/m-p/199842#M58605</guid>
      <dc:creator />
      <dc:date>2010-09-15T13:03:15Z</dc:date>
    </item>
    <item>
      <title>Previous value in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-value-in-dimension/m-p/199843#M58606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hej Johann,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you show me a screen shot of the chart you want please&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Sep 2010 14:30:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-value-in-dimension/m-p/199843#M58606</guid>
      <dc:creator />
      <dc:date>2010-09-15T14:30:03Z</dc:date>
    </item>
    <item>
      <title>Previous value in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-value-in-dimension/m-p/199844#M58607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Christian, I can't show a screenshot, because I don't have the solution yet.&lt;/P&gt;&lt;P&gt;I need some kind of structure (where Trip, Related Trips, Loading Location, Unloading Location and Date/Time are dimensions and Kilometers and Hours are expressions) :&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width:499pt;border-collapse:collapse;" width="666"&gt;&lt;COLGROUP&gt;&lt;COL style="width:48pt;" width="64" /&gt;&lt;COL style="width:66pt;mso-width-source:userset;mso-width-alt:3218;" width="88" /&gt;&lt;COL style="width:50pt;mso-width-source:userset;mso-width-alt:2450;" width="67" /&gt;&lt;COL style="width:82pt;mso-width-source:userset;mso-width-alt:3986;" width="109" /&gt;&lt;COL style="width:94pt;mso-width-source:userset;mso-width-alt:4571;" width="125" /&gt;&lt;COL style="width:71pt;mso-width-source:userset;mso-width-alt:3474;" width="95" /&gt;&lt;COL style="width:56pt;mso-width-source:userset;mso-width-alt:2742;" width="75" /&gt;&lt;COL style="width:32pt;mso-width-source:userset;mso-width-alt:1572;" width="43" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR style="height:15pt;"&gt;&lt;TD height="20" style="background-color:transparent;width:48pt;height:15pt;border:#f0f0f0;" width="64"&gt;Trip&lt;/TD&gt;&lt;TD style="background-color:transparent;width:66pt;border:#f0f0f0;" width="88"&gt;Related Trips&lt;/TD&gt;&lt;TD style="background-color:transparent;width:50pt;border:#f0f0f0;" width="67"&gt;Customer&lt;/TD&gt;&lt;TD style="background-color:transparent;width:82pt;border:#f0f0f0;" width="109"&gt;Loading location&lt;/TD&gt;&lt;TD style="background-color:transparent;width:94pt;border:#f0f0f0;" width="125"&gt;Unloading location&lt;/TD&gt;&lt;TD style="background-color:transparent;width:71pt;border:#f0f0f0;" width="95"&gt;Date/Time&lt;/TD&gt;&lt;TD style="background-color:transparent;width:56pt;border:#f0f0f0;" width="75"&gt;Kilometers&lt;/TD&gt;&lt;TD style="background-color:transparent;width:32pt;border:#f0f0f0;" width="43"&gt;Hours&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:15pt;"&gt;&lt;TD align="right" height="20" style="background-color:transparent;height:15pt;border:#f0f0f0;"&gt;2&lt;/TD&gt;&lt;TD align="left" style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;BACKGROUND-COLOR:transparent;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;" valign="top"&gt;&lt;BR /&gt; -&lt;/TD&gt;&lt;TD style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;BACKGROUND-COLOR:transparent;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;"&gt;A&lt;/TD&gt;&lt;TD style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;BACKGROUND-COLOR:transparent;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;"&gt;A&lt;/TD&gt;&lt;TD style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;BACKGROUND-COLOR:transparent;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl63" style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;BACKGROUND-COLOR:transparent;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;"&gt;9-9-2010 14:00&lt;/TD&gt;&lt;TD align="right" style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;BACKGROUND-COLOR:transparent;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;"&gt;200&lt;/TD&gt;&lt;TD align="right" style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;BACKGROUND-COLOR:transparent;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:15pt;"&gt;&lt;TD height="20" style="background-color:transparent;height:15pt;border:#f0f0f0;"&gt;&lt;/TD&gt;&lt;TD align="right" style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;BACKGROUND-COLOR:transparent;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;"&gt;1&lt;/TD&gt;&lt;TD style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;BACKGROUND-COLOR:transparent;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;"&gt;B&lt;/TD&gt;&lt;TD style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;BACKGROUND-COLOR:transparent;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;"&gt;C&lt;/TD&gt;&lt;TD style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;BACKGROUND-COLOR:transparent;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;"&gt;D&lt;/TD&gt;&lt;TD align="right" class="xl63" style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;BACKGROUND-COLOR:transparent;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;"&gt;8-9-2010 12:00&lt;/TD&gt;&lt;TD align="right" style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;BACKGROUND-COLOR:transparent;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;"&gt;350&lt;/TD&gt;&lt;TD align="right" style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;BACKGROUND-COLOR:transparent;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:15pt;"&gt;&lt;TD height="20" style="background-color:transparent;height:15pt;border:#f0f0f0;"&gt;&lt;/TD&gt;&lt;TD align="right" style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;BACKGROUND-COLOR:transparent;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;"&gt;3&lt;/TD&gt;&lt;TD style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;BACKGROUND-COLOR:transparent;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;"&gt;C&lt;/TD&gt;&lt;TD style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;BACKGROUND-COLOR:transparent;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;"&gt;E&lt;/TD&gt;&lt;TD style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;BACKGROUND-COLOR:transparent;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;"&gt;F&lt;/TD&gt;&lt;TD align="right" class="xl63" style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;BACKGROUND-COLOR:transparent;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;"&gt;10-9-2010 8:00&lt;/TD&gt;&lt;TD align="right" style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;BACKGROUND-COLOR:transparent;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;"&gt;600&lt;/TD&gt;&lt;TD align="right" style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;BACKGROUND-COLOR:transparent;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;"&gt;14&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Note: the main line is Trip 2. From this line I need to show the Previous (1) and Next (3) trip with the info about dimensions and expressions.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Johann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Sep 2010 14:55:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-value-in-dimension/m-p/199844#M58607</guid>
      <dc:creator />
      <dc:date>2010-09-15T14:55:51Z</dc:date>
    </item>
    <item>
      <title>Previous value in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-value-in-dimension/m-p/199845#M58608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Johann,&lt;/P&gt;&lt;P&gt;I think this will match your needs.&lt;/P&gt;&lt;P&gt;But you'll have to manage previous when it is first as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;christian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Sep 2010 15:13:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-value-in-dimension/m-p/199845#M58608</guid>
      <dc:creator />
      <dc:date>2010-09-15T15:13:45Z</dc:date>
    </item>
    <item>
      <title>Previous value in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-value-in-dimension/m-p/199846#M58609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Christian,&lt;/P&gt;&lt;P&gt;It's not exactly what I need, but I think I will make a workaround with an other pivot table with other dimensions.&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Johann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Sep 2010 15:29:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-value-in-dimension/m-p/199846#M58609</guid>
      <dc:creator />
      <dc:date>2010-09-15T15:29:56Z</dc:date>
    </item>
  </channel>
</rss>

