<?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: Connect data island via expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Connect-data-island-via-expression/m-p/311479#M114980</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hei&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;attach is an example &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Oct 2011 14:47:41 GMT</pubDate>
    <dc:creator>lironbaram</dc:creator>
    <dc:date>2011-10-04T14:47:41Z</dc:date>
    <item>
      <title>Connect data island via expression</title>
      <link>https://community.qlik.com/t5/QlikView/Connect-data-island-via-expression/m-p/311478#M114979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a complete data model with fact and dimensions. This model uses section access to reduce the data. I have an aggregated table that is completely unconnected to my model. This is used to prevent the data reduction to take place on that table. I am not succeeding in connecting the table via an expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below you will find a simplified example of my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Revenue:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week number, Store, Department, Revenue&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, Adam, Pants, 25&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, Eve, Skirts, 15&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, Eve, Hats, 20&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, Adam, Sweater, 55&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, Adam, Pants, 50&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, Eve, Skirts, 35&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, Adam, Shoes, 25&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, Eve, Hats, 40&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goal:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _Week number, _Store, Goal&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, Adam, 30&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, Eve, 20&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, Adam, 120&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, Eve, 30&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, Adam, 25&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, Eve, 35&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;I want to create the following table with selection options:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Table.JPG" class="jive-image" src="https://community.qlik.com/legacyfs/online/7689_Table.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The goal should give the goal for each week and each particular store. It should also respond to the selections I make in the listboxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the qvw as an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the best way to handle this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 14:36:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connect-data-island-via-expression/m-p/311478#M114979</guid>
      <dc:creator />
      <dc:date>2011-10-04T14:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Connect data island via expression</title>
      <link>https://community.qlik.com/t5/QlikView/Connect-data-island-via-expression/m-p/311479#M114980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hei&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;attach is an example &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 14:47:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connect-data-island-via-expression/m-p/311479#M114980</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2011-10-04T14:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Connect data island via expression</title>
      <link>https://community.qlik.com/t5/QlikView/Connect-data-island-via-expression/m-p/311480#M114981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That works Liron, thank you. But I actually have a model that looks something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="7859" alt="ActualModel.JPG" class="jive-image" src="https://community.qlik.com/legacyfs/online/7859_ActualModel.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this mean that I have to extend the Goal table with the Week number and Store fields in order to make it work? Or are there other ways to do it? I would like to keep my model as clean as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(See attached qvw)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 07:57:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connect-data-island-via-expression/m-p/311480#M114981</guid>
      <dc:creator />
      <dc:date>2011-10-05T07:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Connect data island via expression</title>
      <link>https://community.qlik.com/t5/QlikView/Connect-data-island-via-expression/m-p/311481#M114982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there anybody that can tell me what the best way to tackle the described problem is? I had oversimplified my example a bit. So the second one matches my actual situation a lot better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2011 07:50:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connect-data-island-via-expression/m-p/311481#M114982</guid>
      <dc:creator />
      <dc:date>2011-10-14T07:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Connect data island via expression</title>
      <link>https://community.qlik.com/t5/QlikView/Connect-data-island-via-expression/m-p/311482#M114983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that your tables where not properly populated. The If() solution works, check the attached application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2011 08:29:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connect-data-island-via-expression/m-p/311482#M114983</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-10-14T08:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Connect data island via expression</title>
      <link>https://community.qlik.com/t5/QlikView/Connect-data-island-via-expression/m-p/311483#M114984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hhhhm that's weird.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added a distinct to the IF to get the results right:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;SUM(DISTINCT IF(%Store_key = _%Store_key AND %Week_key = _%Week_key, Goal))&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you are right, it does work with the if construction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2011 09:39:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connect-data-island-via-expression/m-p/311483#M114984</guid>
      <dc:creator />
      <dc:date>2011-10-14T09:39:22Z</dc:date>
    </item>
  </channel>
</rss>

