<?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: Table: Day - 7 figures issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758111#M536516</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both for your help.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Below (like above) would not work as it works only with the dates displayed in the chart and would not work with the 6 first dates ( eg: first row is Jan 1st, I want to compare it with the figure 7 days ago, Dec 25th, which is not in the table).&lt;/P&gt;&lt;P&gt;I think this is the same result with your second expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Dec 2014 14:22:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-12-02T14:22:55Z</dc:date>
    <item>
      <title>Table: Day - 7 figures issue</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758105#M536510</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 am struggling with a simple issue.&lt;/P&gt;&lt;P&gt;A table has a date as dimension and a value as expression. I would like to add an expression showing this value for the "day-7".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying this is not working:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;date={"$(=date(max(date)-7))"}&amp;gt;}value)&lt;/P&gt;&lt;P&gt;Using "above" function is not the right solution as it will not work for the 6 first rows of my table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is an example. Does someone have the solution to this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 10:39:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758105#M536510</guid>
      <dc:creator />
      <dc:date>2014-12-02T10:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Table: Day - 7 figures issue</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758106#M536511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Within set analysis must not only the values are matching else the formats must be the same. Date() without format-parameters will return the default date-format. If this is different from the format in field date it didn't match. Often it's helpful to use only an additionally numeric date-field for calculations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 12:38:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758106#M536511</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-12-02T12:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Table: Day - 7 figures issue</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758107#M536512</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;BR /&gt;Yes, thanks in my application model I have this numeric date field.&lt;/P&gt;&lt;P&gt;But it's not the problem here.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 12:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758107#M536512</guid>
      <dc:creator />
      <dc:date>2014-12-02T12:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Table: Day - 7 figures issue</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758108#M536513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you use $() you refer to a variable, and variables can to store only one value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, I recomend you use PEEK and make a pre-calculated field on script. Unless you need a interactive chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 13:42:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758108#M536513</guid>
      <dc:creator>fsimoes81</dc:creator>
      <dc:date>2014-12-02T13:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Table: Day - 7 figures issue</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758109#M536514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doing it in the script is not possible I guess. I need an interactive chart indeed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 13:51:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758109#M536514</guid>
      <dc:creator />
      <dc:date>2014-12-02T13:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Table: Day - 7 figures issue</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758110#M536515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the suggestion from &lt;A href="https://community.qlik.com/qlik-users/59291"&gt;Fábio Simões&lt;/A&gt; would work with an interactive approach if you created in extra value-field which is associated to your date-field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of above() have you tried below() ?&lt;/P&gt;&lt;P&gt;Below(sum(value), 7)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively you could play with ugly string-functions like this:&lt;/P&gt;&lt;P&gt;subfield(concat({1} total&amp;nbsp; value, ',', date), ',', rowno() + 7)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 14:13:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758110#M536515</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-12-02T14:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Table: Day - 7 figures issue</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758111#M536516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both for your help.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Below (like above) would not work as it works only with the dates displayed in the chart and would not work with the 6 first dates ( eg: first row is Jan 1st, I want to compare it with the figure 7 days ago, Dec 25th, which is not in the table).&lt;/P&gt;&lt;P&gt;I think this is the same result with your second expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 14:22:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758111#M536516</guid>
      <dc:creator />
      <dc:date>2014-12-02T14:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Table: Day - 7 figures issue</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758112#M536517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The second expression includes a {1} total and would be independent from selections. This means if you select only the first 10 dates you will have no empty rows. But is it possible that in your real data-model this approach may not work or would be too complex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 14:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758112#M536517</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-12-02T14:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Table: Day - 7 figures issue</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758113#M536518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And what about using the BELOW-function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 16:23:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758113#M536518</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2014-12-02T16:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Table: Day - 7 figures issue</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758114#M536519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you tried Above like that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above(Sum({&amp;lt;date =&amp;gt;} value),7)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 16:38:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758114#M536519</guid>
      <dc:creator>fsimoes81</dc:creator>
      <dc:date>2014-12-02T16:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Table: Day - 7 figures issue</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758115#M536520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fabio,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It's almost working, the problem is when you select a date, the table is still showing all values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 11:04:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758115#M536520</guid>
      <dc:creator />
      <dc:date>2014-12-04T11:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Table: Day - 7 figures issue</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758116#M536521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, explain me please, why can't to create another field on script to bring the value you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;Peek(value,-7) as value1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 13:45:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758116#M536521</guid>
      <dc:creator>fsimoes81</dc:creator>
      <dc:date>2014-12-04T13:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Table: Day - 7 figures issue</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758117#M536522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because my fact table is at order line level, not at day level. Peek(value,-7) would not give the amount 7 days ago.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 14:03:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758117#M536522</guid>
      <dc:creator />
      <dc:date>2014-12-04T14:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Table: Day - 7 figures issue</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758118#M536523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But you could create such consolidated extra table ... you will need make a compromise ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 15:08:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Day-7-figures-issue/m-p/758118#M536523</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-12-04T15:08:54Z</dc:date>
    </item>
  </channel>
</rss>

