<?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: Problem with tables - many-to-many relation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-tables-many-to-many-relation/m-p/908169#M315399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, but this isn't properly working, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to select some city of origin and see all the possible destinations points in other map.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Aug 2015 14:23:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-08-05T14:23:00Z</dc:date>
    <item>
      <title>Problem with tables - many-to-many relation</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-tables-many-to-many-relation/m-p/908162#M315392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having some problems with my tables. I have data of origin and destination and I need to plot two maps: one with origin and other with destination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way, if city 1 is a origin (ploted in first map), city 2, 3 and 4 are destinations (ploted in second map). However, city 1 can also be a destination, and city 2, 3 and 4 can also be a origin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's something like a many-to-many relation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2015 11:34:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-tables-many-to-many-relation/m-p/908162#M315392</guid>
      <dc:creator />
      <dc:date>2015-08-03T11:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tables - many-to-many relation</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-tables-many-to-many-relation/m-p/908163#M315393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There could be different solutions based on your data model and complete requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, you might consider loading your relations into a following structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ConnectionID, Location, LocationType&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With your data, for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ConnectionID, Location, LocationType&lt;/P&gt;&lt;P&gt;1, City1, Origin&lt;/P&gt;&lt;P&gt;1, City2, Destination&lt;/P&gt;&lt;P&gt;1, City3, Destination&lt;/P&gt;&lt;P&gt;1, City4, Destination&lt;/P&gt;&lt;P&gt;2, City2, Origin&lt;/P&gt;&lt;P&gt;2, City1, Destination&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You probably need to transform your existing table to get above, maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Connections:&lt;/P&gt;&lt;P&gt;LOAD ConnectionID, Origin as Location, 'Origin' as LocationType&lt;/P&gt;&lt;P&gt;FROM YourTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE (Connections)&lt;/P&gt;&lt;P&gt;LOAD ConnectionID, Destination as Location, 'Destination' as LocationType&lt;/P&gt;&lt;P&gt;FROM YourTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can filter your data by LocationType to show Locations in the two maps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2015 11:58:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-tables-many-to-many-relation/m-p/908163#M315393</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-03T11:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tables - many-to-many relation</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-tables-many-to-many-relation/m-p/908164#M315394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will try!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much, mate! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2015 12:31:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-tables-many-to-many-relation/m-p/908164#M315394</guid>
      <dc:creator />
      <dc:date>2015-08-03T12:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tables - many-to-many relation</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-tables-many-to-many-relation/m-p/908165#M315395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I should do something like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status as LocationType,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Latitude,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Longitude,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cidade as Location,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Estado,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Estado siglas",&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; País,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM [lib://Desktop/Base de Fluxo de Carga 2.0.xlsx]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(ooxml, embedded labels, table is [Base completa]);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Connections:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD ID, Origem as Location, 'Origem' as LocationType&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM [lib://Desktop/Base de Fluxo de Carga 2.0.xlsx]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(ooxml, embedded labels, table is [Base completa]);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;CONCATENATE (Connections)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD ID, Destino as Location, 'Destino' as LocationType&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM [lib://Desktop/Base de Fluxo de Carga 2.0.xlsx]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(ooxml, embedded labels, table is [Base completa]);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 12:00:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-tables-many-to-many-relation/m-p/908165#M315395</guid>
      <dc:creator />
      <dc:date>2015-08-04T12:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tables - many-to-many relation</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-tables-many-to-many-relation/m-p/908166#M315396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, not sure. I don't think you should rename Status to LocationType in your first LOAD. What is Status field for?&lt;/P&gt;&lt;P&gt;If your first table LOAD is the dimension table for Locations, and your two other tables are the fact tables, this seems ok to me, on first glance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would it be possible that you upload a small sample QVW? Could be mock-up data, of course.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 12:06:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-tables-many-to-many-relation/m-p/908166#M315396</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-04T12:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tables - many-to-many relation</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-tables-many-to-many-relation/m-p/908167#M315397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Status is the same as LocationType. I am uploading a excel file, if it's okay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 12:11:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-tables-many-to-many-relation/m-p/908167#M315397</guid>
      <dc:creator />
      <dc:date>2015-08-04T12:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tables - many-to-many relation</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-tables-many-to-many-relation/m-p/908168#M315398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems like your excel table shows already the structure I wanted to create, so there seems no need for an additional transformation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Column A seem to denote the location type, origin or destination, column D the location name and column H the connection ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you should be able to create the two charts, see attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 16:44:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-tables-many-to-many-relation/m-p/908168#M315398</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-04T16:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tables - many-to-many relation</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-tables-many-to-many-relation/m-p/908169#M315399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, but this isn't properly working, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to select some city of origin and see all the possible destinations points in other map.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 14:23:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-tables-many-to-many-relation/m-p/908169#M315399</guid>
      <dc:creator />
      <dc:date>2015-08-05T14:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tables - many-to-many relation</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-tables-many-to-many-relation/m-p/908170#M315400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it's working right, but you can also add a table with Separate fields for origin and destination locations, maybe like attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 17:17:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-tables-many-to-many-relation/m-p/908170#M315400</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-05T17:17:31Z</dc:date>
    </item>
  </channel>
</rss>

