<?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: Where statement in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Where-statement/m-p/1517100#M3455</link>
    <description>&lt;P&gt;Can you post your entire script? You might need to do a noconcatenate, but it's not clear without all the information.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Dec 2018 05:38:53 GMT</pubDate>
    <dc:creator>lblumenfeld</dc:creator>
    <dc:date>2018-12-06T05:38:53Z</dc:date>
    <item>
      <title>Where statement</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Where-statement/m-p/1517036#M3454</link>
      <description>&lt;P&gt;Hey there&lt;/P&gt;&lt;P&gt;I'm creating a data model following a specs document that says I need to stretch a single table to a fact table with multiple dimensions. So I now I have a fact table with of course multiple dimensions, each dimension has an ID. Now I need to connect these dimensions to the fact table.&lt;/P&gt;&lt;P&gt;What I originally had in mind was the following:&lt;BR /&gt;-CREATE DIMENSIONS (With fields: Id,DimensionName)-&lt;BR /&gt;-CREATE FACT TABLE (With every field from the single table; Fields: FactName, Dimension)-&lt;BR /&gt;-&lt;BR /&gt;TempTable:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; LOAD&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Id as DimensionId&lt;BR /&gt;Resident Dimension;&lt;BR /&gt;- (create a temporary table to store the ID of the dimension)&lt;BR /&gt;Concatenate Load * Resident FactTable WHERE Dimension = DimensionName-(Concatenate Temptable with FactTable)&lt;/P&gt;&lt;P&gt;To explain further what I'm trying to do is: to add the ID of the dimension to the FactTable with a where clause that compares the non-id-field of the Dimension with the field in the FactTable and then replace that field in the FactTable with the corresponding ID that references to the ID in the Dimension table.&lt;/P&gt;&lt;P&gt;When I try to load the data the output shows: "Table: 'FactTable' Not found: &lt;SPAN&gt;Concatenate Load * Resident FactTable WHERE Dimension = DimensionName&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;Does anyone know how I can solve this problem better?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 21:47:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Where-statement/m-p/1517036#M3454</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-05T21:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Where statement</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Where-statement/m-p/1517100#M3455</link>
      <description>&lt;P&gt;Can you post your entire script? You might need to do a noconcatenate, but it's not clear without all the information.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 05:38:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Where-statement/m-p/1517100#M3455</guid>
      <dc:creator>lblumenfeld</dc:creator>
      <dc:date>2018-12-06T05:38:53Z</dc:date>
    </item>
  </channel>
</rss>

