<?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: Qlikview Dynamic Table Doubt in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Qlikview-Dynamic-Table-Doubt/m-p/907560#M985588</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ahhh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not realize the mileage was cumulative&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What about an expression to cacluate the mile each day - it would be the current row minus the row-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in the examples you gave me 543-237, the next row would be 678-543, then 908-678, etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Aug 2015 18:15:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-08-03T18:15:00Z</dc:date>
    <item>
      <title>Qlikview Dynamic Table Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Dynamic-Table-Doubt/m-p/907557#M985585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on a project in which I need to calculate the total distance traveled for each unit that the company has and then put those values into a qlikview dynamic table. In order to calculate the total distance I need to substract the final value of kilometers traveled from the initial value of kilometers traveled. Each unit reports every certain time the amount of kilometers traveled so it appears something like the following table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Unit&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Date/Hour&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Km traveled&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2/8/2015&amp;nbsp;&amp;nbsp;&amp;nbsp; 10:10 am&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;237&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2/8/2015&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8:15 pm&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;543&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3/8/2015&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3:12 pm&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;678&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3/8/2015&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9:00 pm&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;908&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In qlikview I want to have a dynamic table where I can see:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - The total amount of kilometers that a unit traveled in an specific day, an specific month, an specific year.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In the case of the previous if I want to know how many kilometers did unit 1 traveled on 2/8/2015 I need to substract 543 - 237= 306&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; kilometers traveled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know what expression is needed to make those operations in qlikview.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 16px; font-family: Calibri, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Aug 2015 23:12:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Dynamic-Table-Doubt/m-p/907557#M985585</guid>
      <dc:creator>katherine_mondr</dc:creator>
      <dc:date>2015-08-02T23:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Dynamic Table Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Dynamic-Table-Doubt/m-p/907558#M985586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you add the date as a dimension and create as a filter/selction criteria, you can then select the date you want.&amp;nbsp; In the example you provided, you would just select 2/8/2015 from your date filter - I am not sure why you are subtracting since both are unit 1 on 2/28/15. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the load script you can get the specific year and specifc month by by using month (&amp;lt;date&amp;gt;) field as month, year(&amp;lt;datefield&amp;gt;) as year, - this would give you 2 more fields to use in your filter selection criteria&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2015 16:30:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Dynamic-Table-Doubt/m-p/907558#M985586</guid>
      <dc:creator />
      <dc:date>2015-08-03T16:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Dynamic Table Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Dynamic-Table-Doubt/m-p/907559#M985587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The substraction is because I want to know the kilometers traveled durind an specified day, month, year, etc. According to the table on day 2/8/2015 the unit has already traveled 237 km on previous days, so if the last register of kilometers is of 543 I need to substract 543-237. If I wanted to know the amount of kilometers traveled only on day 3/8/2015 I need to substract 908- 678 and so on. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the answer!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2015 17:55:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Dynamic-Table-Doubt/m-p/907559#M985587</guid>
      <dc:creator>katherine_mondr</dc:creator>
      <dc:date>2015-08-03T17:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Dynamic Table Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Dynamic-Table-Doubt/m-p/907560#M985588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ahhh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not realize the mileage was cumulative&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What about an expression to cacluate the mile each day - it would be the current row minus the row-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in the examples you gave me 543-237, the next row would be 678-543, then 908-678, etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2015 18:15:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Dynamic-Table-Doubt/m-p/907560#M985588</guid>
      <dc:creator />
      <dc:date>2015-08-03T18:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Dynamic Table Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Dynamic-Table-Doubt/m-p/907561#M985589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or based on how your data is defined, calculate the same basic logic in the load script, if possible&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2015 18:16:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Dynamic-Table-Doubt/m-p/907561#M985589</guid>
      <dc:creator />
      <dc:date>2015-08-03T18:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Dynamic Table Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Dynamic-Table-Doubt/m-p/907562#M985590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I forgot to explain that detail. I'm new using Qlikview how can I program row substractions on the Qlikview expression? Which commands can I use?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2015 18:28:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Dynamic-Table-Doubt/m-p/907562#M985590</guid>
      <dc:creator>katherine_mondr</dc:creator>
      <dc:date>2015-08-03T18:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Dynamic Table Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Dynamic-Table-Doubt/m-p/907563#M985591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create a new expression in your table - the expression would be&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[(KM Traveled)]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) - &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;above&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[KM Traveled]))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;This will take the value is the column KM traveled for the current row and subtract the value in KM Traveled on the previous row and store that value in the new column&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;the KM Traveled is assuming that is the name of the field - if it is not, replace with the correct value&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2015 18:50:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Dynamic-Table-Doubt/m-p/907563#M985591</guid>
      <dc:creator />
      <dc:date>2015-08-03T18:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Dynamic Table Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Dynamic-Table-Doubt/m-p/907564#M985593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks lot Adam! I will try it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2015 18:56:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Dynamic-Table-Doubt/m-p/907564#M985593</guid>
      <dc:creator>katherine_mondr</dc:creator>
      <dc:date>2015-08-03T18:56:17Z</dc:date>
    </item>
  </channel>
</rss>

