<?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 Struggling With Expression - Two Different Tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Struggling-With-Expression-Two-Different-Tables/m-p/122462#M759893</link>
    <description>&lt;P&gt;Hello All:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm struggling with an expression where it works fine in one table, but not another table where I need, effectively, the same expression executed.&amp;nbsp; I suspect I'm missing something simple.&amp;nbsp; This is in a straight table where I'm trying to do this.&amp;nbsp; For simplicity, I'll call the tables TableA and TableB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This works fine in TableA.&amp;nbsp; In TableB, it only returns a blank column.&amp;nbsp; I'm guessing that I need to have at least one column related to both tables, but I'm struggling to come up with one (have tried multiple different columns).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TableA has columns Product, Q1, Q2, Q3, Q4 Consumed which are all expressions and which I'm trying to calculate for TableB, etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;TableB has columns ProductGroup, DM #, order_date_quarter, &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;SPAN&gt;Table1_order_date_quarter&lt;/SPAN&gt; = &lt;STRONG&gt;&lt;EM&gt;v2018ForecastQtr, =v&lt;SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;2018ForecastQtr, &lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;and Product2018.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Does anyone have any ideas?&amp;nbsp; As always, thanks in advance for any and all help / responses.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>pnn44794</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Struggling With Expression - Two Different Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Struggling-With-Expression-Two-Different-Tables/m-p/122462#M759893</link>
      <description>&lt;P&gt;Hello All:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm struggling with an expression where it works fine in one table, but not another table where I need, effectively, the same expression executed.&amp;nbsp; I suspect I'm missing something simple.&amp;nbsp; This is in a straight table where I'm trying to do this.&amp;nbsp; For simplicity, I'll call the tables TableA and TableB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This works fine in TableA.&amp;nbsp; In TableB, it only returns a blank column.&amp;nbsp; I'm guessing that I need to have at least one column related to both tables, but I'm struggling to come up with one (have tried multiple different columns).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TableA has columns Product, Q1, Q2, Q3, Q4 Consumed which are all expressions and which I'm trying to calculate for TableB, etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;TableB has columns ProductGroup, DM #, order_date_quarter, &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;SPAN&gt;Table1_order_date_quarter&lt;/SPAN&gt; = &lt;STRONG&gt;&lt;EM&gt;v2018ForecastQtr, =v&lt;SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;2018ForecastQtr, &lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;and Product2018.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Does anyone have any ideas?&amp;nbsp; As always, thanks in advance for any and all help / responses.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Struggling-With-Expression-Two-Different-Tables/m-p/122462#M759893</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling With Expression - Two Different Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Struggling-With-Expression-Two-Different-Tables/m-p/122463#M759894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may change Product / ProductGroup to maintain consistency each associate. Then, Try? Or share your model please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 07:09:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Struggling-With-Expression-Two-Different-Tables/m-p/122463#M759894</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-08-27T07:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling With Expression - Two Different Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Struggling-With-Expression-Two-Different-Tables/m-p/122464#M759895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Anil, for your response.&amp;nbsp; I believe you are correct and I'm looking into making a data model change.&amp;nbsp; I'm still having a bit of a mental block though because I think I've been looking at this for too long.&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I didn't say above is that these different tables are from different sources and have different column names and I'm doing inline loads as well trying to compensate for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now, I'm manually entering values into variables and saving them.&amp;nbsp; I will work on getting the data model corrected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 03:06:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Struggling-With-Expression-Two-Different-Tables/m-p/122464#M759895</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2018-08-28T03:06:31Z</dc:date>
    </item>
  </channel>
</rss>

