<?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: straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/straight-table/m-p/1372812#M830344</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An other way&lt;/P&gt;&lt;P&gt;Dimensions :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;FirstSortedValue&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;TOTAL&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Cluster&lt;/SPAN&gt;,-&lt;SPAN style="color: #800000;"&gt;Year&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Year&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Expression :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN&gt;={'&amp;gt;=$(=Max(Year)-1)&amp;lt;=$(=Max(Year))'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/168468_pastedImage_3.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Antonio&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jun 2017 16:16:48 GMT</pubDate>
    <dc:creator>antoniotiman</dc:creator>
    <dc:date>2017-06-28T16:16:48Z</dc:date>
    <item>
      <title>straight table</title>
      <link>https://community.qlik.com/t5/QlikView/straight-table/m-p/1372809#M830341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community&lt;/P&gt;&lt;P&gt;plz look at my sample data first&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/168445_1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;"A Salon" ,"A Class" and "A Class New" , they are actually the same cluster with different name in different year&lt;/P&gt;&lt;P&gt;I want create a straight table which shows the "newest" name according to year selection , and compare sales between current year and last year&lt;/P&gt;&lt;P&gt;so when I select 2017 , it shoud be&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/168449_2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;and for 2016 , it should be&lt;/P&gt;&lt;P&gt;&lt;IMG alt="3.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/168451_3.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;with 2015 , it should be&lt;/P&gt;&lt;P&gt;&lt;IMG alt="4.png" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/168452_4.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this possible ?&amp;nbsp; you can create a dimension table to do this but please do not change this fact table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz give me a hand , thanks in advance !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/straight-table/m-p/1372809#M830341</guid>
      <dc:creator>woshua5550</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: straight table</title>
      <link>https://community.qlik.com/t5/QlikView/straight-table/m-p/1372810#M830342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need 2 expressions to achieve this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create straight table and dimension as Cluster&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Year = {'$(=Max(Year))'}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and&lt;STRONG&gt; &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Sum({&amp;lt;Year = {'$(=Max(Year)-1)'}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;PS - I don't have Qlikview s/w with me&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 15:44:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/straight-table/m-p/1372810#M830342</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-06-28T15:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: straight table</title>
      <link>https://community.qlik.com/t5/QlikView/straight-table/m-p/1372811#M830343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Year, Sum(TOTAL {&amp;lt;Year={$(=Year-1)}&amp;gt;}Sales))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 16:05:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/straight-table/m-p/1372811#M830343</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-28T16:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: straight table</title>
      <link>https://community.qlik.com/t5/QlikView/straight-table/m-p/1372812#M830344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An other way&lt;/P&gt;&lt;P&gt;Dimensions :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;FirstSortedValue&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;TOTAL&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Cluster&lt;/SPAN&gt;,-&lt;SPAN style="color: #800000;"&gt;Year&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Year&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Expression :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN&gt;={'&amp;gt;=$(=Max(Year)-1)&amp;lt;=$(=Max(Year))'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/168468_pastedImage_3.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Antonio&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 16:16:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/straight-table/m-p/1372812#M830344</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-06-28T16:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: straight table</title>
      <link>https://community.qlik.com/t5/QlikView/straight-table/m-p/1372813#M830345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well done.. thanks Sunny&lt;/P&gt;&lt;P&gt;but actrually it not solved my problem.. sorry ,I'm not make it so clear&lt;/P&gt;&lt;P&gt;let me change my table into this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/168507_1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;"B Class" is totally different with "A Class" , so you can't sum up them together&lt;/P&gt;&lt;P&gt;in this case , when I select 2017 ,&amp;nbsp; I want to show&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/168508_2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;and for 2016&lt;/P&gt;&lt;P&gt;&lt;IMG alt="3.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/168509_3.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is tricky, right...?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 04:13:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/straight-table/m-p/1372813#M830345</guid>
      <dc:creator>woshua5550</dc:creator>
      <dc:date>2017-06-29T04:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: straight table</title>
      <link>https://community.qlik.com/t5/QlikView/straight-table/m-p/1372814#M830346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will it literally have New as the extra word in addition to the other text? I mean there has to be some way to know what is common between the rows to program it, right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 08:39:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/straight-table/m-p/1372814#M830346</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-29T08:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: straight table</title>
      <link>https://community.qlik.com/t5/QlikView/straight-table/m-p/1372815#M830347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be check out the attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 08:56:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/straight-table/m-p/1372815#M830347</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-29T08:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: straight table</title>
      <link>https://community.qlik.com/t5/QlikView/straight-table/m-p/1372816#M830348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well,you can maintain a mapping table to recognise which clusters are the same and which are not&lt;/P&gt;&lt;P&gt;in may case, "A Salon","A Class" and "A Class New" are the same cluster&lt;/P&gt;&lt;P&gt;"B Class" is another cluster&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 08:56:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/straight-table/m-p/1372816#M830348</guid>
      <dc:creator>woshua5550</dc:creator>
      <dc:date>2017-06-29T08:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: straight table</title>
      <link>https://community.qlik.com/t5/QlikView/straight-table/m-p/1372817#M830349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;See Attachment&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/168535_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/168539_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 09:02:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/straight-table/m-p/1372817#M830349</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-06-29T09:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: straight table</title>
      <link>https://community.qlik.com/t5/QlikView/straight-table/m-p/1372818#M830350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Thx a lot Antonio !&lt;/P&gt;&lt;P class=""&gt;It's really a good idea to use firstsortedvalue function ,problem solved !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2017 08:06:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/straight-table/m-p/1372818#M830350</guid>
      <dc:creator>woshua5550</dc:creator>
      <dc:date>2017-07-03T08:06:16Z</dc:date>
    </item>
  </channel>
</rss>

