<?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 Reversed straight table. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reversed-straight-table/m-p/292711#M581651</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try a set expression in your expressions, e.g. create a table with dimension Date and expression&lt;/P&gt;&lt;P&gt;=count(&lt;STRONG&gt;{&amp;lt;Date = {"&amp;gt;$(=Date(max(Date)-7))&amp;lt;=$(=Date(max(Date)))"}, Month=,Year= &amp;gt;}&lt;/STRONG&gt; Date)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Dec 2011 17:07:00 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2011-12-12T17:07:00Z</dc:date>
    <item>
      <title>Reversed straight table.</title>
      <link>https://community.qlik.com/t5/QlikView/Reversed-straight-table/m-p/292708#M581648</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 have a horizontal straight table with date as dimension. The task is to show 7 latest days. The solution is simple: sort the date in descending order and set 'Max number' in 'Presentation' tab to 7. This shows 7 days decreasing from left to right. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that a client repeatedly asks to show the newest date to the right, not left. How can I do this? If it would be a bar chart, I could have selected 'Reversed' option in 'Presentation' tab, but alas there is no such option for straight table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it's not possible to do this with the table settings, perhaps someone could suggest an expression for the calculated dimension that will do the job.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2011 18:22:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reversed-straight-table/m-p/292708#M581648</guid>
      <dc:creator>boris_nechaev</dc:creator>
      <dc:date>2011-12-11T18:22:58Z</dc:date>
    </item>
    <item>
      <title>Reversed straight table.</title>
      <link>https://community.qlik.com/t5/QlikView/Reversed-straight-table/m-p/292709#M581649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To show the dates of last week only, you could use a calulated dimension, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Date &amp;lt;= today() and Date &amp;gt; today()-7,Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, use a set expression in your expression(s), e.g.&lt;/P&gt;&lt;P&gt;=count(&lt;STRONG&gt;{&amp;lt;Date = {"&amp;gt;$(=date(today()-7))&amp;lt;=$(=today())"}&amp;gt;}&lt;/STRONG&gt; Customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2011 19:51:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reversed-straight-table/m-p/292709#M581649</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-12-11T19:51:02Z</dc:date>
    </item>
    <item>
      <title>Reversed straight table.</title>
      <link>https://community.qlik.com/t5/QlikView/Reversed-straight-table/m-p/292710#M581650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Stefan. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does the trick partially. Though it won't work if I select e.g. a month in the month(Date) list box. In this case I need a calculated dimension that is relative not to today(), but to the maximum selected date. Any idea how to write such a calculated dimension?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 16:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reversed-straight-table/m-p/292710#M581650</guid>
      <dc:creator>boris_nechaev</dc:creator>
      <dc:date>2011-12-12T16:39:14Z</dc:date>
    </item>
    <item>
      <title>Reversed straight table.</title>
      <link>https://community.qlik.com/t5/QlikView/Reversed-straight-table/m-p/292711#M581651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try a set expression in your expressions, e.g. create a table with dimension Date and expression&lt;/P&gt;&lt;P&gt;=count(&lt;STRONG&gt;{&amp;lt;Date = {"&amp;gt;$(=Date(max(Date)-7))&amp;lt;=$(=Date(max(Date)))"}, Month=,Year= &amp;gt;}&lt;/STRONG&gt; Date)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 17:07:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reversed-straight-table/m-p/292711#M581651</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-12-12T17:07:00Z</dc:date>
    </item>
    <item>
      <title>Reversed straight table.</title>
      <link>https://community.qlik.com/t5/QlikView/Reversed-straight-table/m-p/292712#M581652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Stefan, in fact, I read your replies in this post: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://community.qlik.com/thread/34993?start=15&amp;amp;tstart=0"&gt;http://community.qlik.com/thread/34993?start=15&amp;amp;tstart=0&lt;/A&gt;&lt;SPAN&gt; and they pushed me in the right direction. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the calculated dimension that seems to do the job:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Date &amp;lt;= max(total Date) and Date &amp;gt; max(total Date)-7, Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for you help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 17:11:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reversed-straight-table/m-p/292712#M581652</guid>
      <dc:creator>boris_nechaev</dc:creator>
      <dc:date>2011-12-12T17:11:15Z</dc:date>
    </item>
  </channel>
</rss>

