<?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 with an unlinked dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Straight-Table-with-an-unlinked-dimension/m-p/1552068#M440365</link>
    <description>There likely is, but it becomes more complex and will take longer to calculate on the front end, meaning worse performance</description>
    <pubDate>Mon, 04 Mar 2019 23:59:24 GMT</pubDate>
    <dc:creator>Lisa_P</dc:creator>
    <dc:date>2019-03-04T23:59:24Z</dc:date>
    <item>
      <title>Straight Table with an unlinked dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-with-an-unlinked-dimension/m-p/1551488#M440318</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a data set that looks like this:&lt;/P&gt;&lt;P&gt;ID | Exterior_Colour | Interior_Colour&lt;BR /&gt;1 | Blue | Grey&lt;BR /&gt;2 | Blue | Yellow&lt;BR /&gt;3 | Yellow | Yellow&lt;BR /&gt;4 | Green | Grey&lt;/P&gt;&lt;P&gt;Etc.&lt;/P&gt;&lt;P&gt;I need to generate a table that looks like this (where the dimension belongs to an independently defined list of "special colours":&lt;/P&gt;&lt;P&gt;Colour | Count of Exterior | Count of Interior&lt;BR /&gt;Green | 1 | 0&lt;BR /&gt;Grey |&amp;nbsp; 0 | 2&lt;BR /&gt;Red | 0 | 0&lt;BR /&gt;Yellow |&amp;nbsp; 1 | 2&lt;/P&gt;&lt;P&gt;I thought I could load the list of "special colours" as a separate (unlinked) table, and use it as a dimension in a straight table, but I can't seem to conjure up an expression that recognizes the row value it should correspond to. In Excel this would be the most straightforward thing...Sum(if(Range=Colour_Cell, 1,0)) [Shift+Enter], but in QV this only only seems to work on linked tables.&lt;/P&gt;&lt;P&gt;Is there a way? Will I need to modify the data at the script level?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Joanna.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:19:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-with-an-unlinked-dimension/m-p/1551488#M440318</guid>
      <dc:creator>jwaligora</dc:creator>
      <dc:date>2024-11-16T21:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table with an unlinked dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-with-an-unlinked-dimension/m-p/1551496#M440320</link>
      <description>Simple to do at Script level.  &lt;BR /&gt;Colours:&lt;BR /&gt;LOAD ID, &lt;BR /&gt;     Exterior_Colour, &lt;BR /&gt;     Interior_Colour&lt;BR /&gt;FROM&lt;BR /&gt;[C:\Users\Lisa\Documents\Community\colourdata.txt]&lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is '|', msq);&lt;BR /&gt;&lt;BR /&gt;Colours2:&lt;BR /&gt;Load ID,&lt;BR /&gt;	[Exterior_Colour] as Colour, &lt;BR /&gt;     'Ext' as ColourType&lt;BR /&gt;Resident Colours;&lt;BR /&gt;&lt;BR /&gt;Load ID,&lt;BR /&gt;	[Interior_Colour] as Colour, &lt;BR /&gt;     'Int' as ColourType&lt;BR /&gt;Resident Colours;&lt;BR /&gt;then just create a straight table with  Colour as dimension and have two columns to count(Colour) then add set analysis per column to define Interior or Exterior - Count({&amp;lt;ColourType={Ext}&amp;gt;}Colour) and Count({&amp;lt;ColourType={Int}&amp;gt;}Colour)</description>
      <pubDate>Mon, 04 Mar 2019 03:10:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-with-an-unlinked-dimension/m-p/1551496#M440320</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2019-03-04T03:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table with an unlinked dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-with-an-unlinked-dimension/m-p/1552060#M440364</link>
      <description>&lt;P&gt;Thanks. That definitely works. Is it conclusive then, that there is no way to achieve this end via post-load means?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 22:31:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-with-an-unlinked-dimension/m-p/1552060#M440364</guid>
      <dc:creator>jwaligora</dc:creator>
      <dc:date>2019-03-04T22:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table with an unlinked dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-with-an-unlinked-dimension/m-p/1552068#M440365</link>
      <description>There likely is, but it becomes more complex and will take longer to calculate on the front end, meaning worse performance</description>
      <pubDate>Mon, 04 Mar 2019 23:59:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-with-an-unlinked-dimension/m-p/1552068#M440365</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2019-03-04T23:59:24Z</dc:date>
    </item>
  </channel>
</rss>

