<?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 Source and Destination Movement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Source-and-Destination-Movement/m-p/463101#M559788</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Considering that I have to model movements between two Factories and that each Factory can be the source or destination of the movements, I built the following model, using a Link table that indentifies the Source and Destination of the Movement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="41123" alt="data_model.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/41123_data_model.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/message/346206/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I am facing some difficulties building a table like:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="41125" alt="table.jpg" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/41125_table.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/message/346206/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;I am using a Pivot Tabble with two dimensions and one expression:&lt;/P&gt;&lt;P&gt;1. Destination - Calculated dimension using: if ( MovType = 'Destination', Name )&lt;/P&gt;&lt;P&gt;2. Value - sum (value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is how do build the second dimension (Source) using a calculated expression, because I have the Souce Factory name in the same table as Destination Factory?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;João&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 May 2013 14:39:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-05-15T14:39:39Z</dc:date>
    <item>
      <title>Source and Destination Movement</title>
      <link>https://community.qlik.com/t5/QlikView/Source-and-Destination-Movement/m-p/463101#M559788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Considering that I have to model movements between two Factories and that each Factory can be the source or destination of the movements, I built the following model, using a Link table that indentifies the Source and Destination of the Movement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="41123" alt="data_model.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/41123_data_model.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/message/346206/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I am facing some difficulties building a table like:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="41125" alt="table.jpg" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/41125_table.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/message/346206/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;I am using a Pivot Tabble with two dimensions and one expression:&lt;/P&gt;&lt;P&gt;1. Destination - Calculated dimension using: if ( MovType = 'Destination', Name )&lt;/P&gt;&lt;P&gt;2. Value - sum (value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is how do build the second dimension (Source) using a calculated expression, because I have the Souce Factory name in the same table as Destination Factory?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;João&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 14:39:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Source-and-Destination-Movement/m-p/463101#M559788</guid>
      <dc:creator />
      <dc:date>2013-05-15T14:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Source and Destination Movement</title>
      <link>https://community.qlik.com/t5/QlikView/Source-and-Destination-Movement/m-p/463102#M559789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, please check the file attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 16:50:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Source-and-Destination-Movement/m-p/463102#M559789</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2013-05-15T16:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Source and Destination Movement</title>
      <link>https://community.qlik.com/t5/QlikView/Source-and-Destination-Movement/m-p/463103#M559790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello qlikuser14, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. Unfortunately the example you sent does not answer our problem. We need to generate a table similar to what we posted initially, a column for Destination and another one for the Source that adds all the values between them (the aggregate value). Thanks again ! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 17:54:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Source-and-Destination-Movement/m-p/463103#M559790</guid>
      <dc:creator />
      <dc:date>2013-05-15T17:54:12Z</dc:date>
    </item>
  </channel>
</rss>

