<?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 Connecting data in straight table between two tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Connecting-data-in-straight-table-between-two-tables/m-p/1037052#M349497</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;Let's say I have two tables:&lt;/P&gt;&lt;P&gt;1. Main table (called: main) - this table has few fields, including: "Date_Id" and "Country_Name"&lt;/P&gt;&lt;P&gt;2. Second table (called: dim) - this table has few fields, including: "Date_Id" and "Country"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tables are connected by the field "Date_Id".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dynamic straight table, based on the main table.&lt;/P&gt;&lt;P&gt;I want to create an expression in the table with the following constraint: "Country" = "Country_Name" (Only if one "Country_Name" is selected).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the following set analysis: {&amp;lt; Country={$(=MaxString(Country_Name)}&amp;gt;} but it doesn't work once I add "Country_Name" as a dimension in the straight table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jan 2016 14:27:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-01-06T14:27:14Z</dc:date>
    <item>
      <title>Connecting data in straight table between two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-data-in-straight-table-between-two-tables/m-p/1037052#M349497</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;Let's say I have two tables:&lt;/P&gt;&lt;P&gt;1. Main table (called: main) - this table has few fields, including: "Date_Id" and "Country_Name"&lt;/P&gt;&lt;P&gt;2. Second table (called: dim) - this table has few fields, including: "Date_Id" and "Country"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tables are connected by the field "Date_Id".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dynamic straight table, based on the main table.&lt;/P&gt;&lt;P&gt;I want to create an expression in the table with the following constraint: "Country" = "Country_Name" (Only if one "Country_Name" is selected).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the following set analysis: {&amp;lt; Country={$(=MaxString(Country_Name)}&amp;gt;} but it doesn't work once I add "Country_Name" as a dimension in the straight table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 14:27:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-data-in-straight-table-between-two-tables/m-p/1037052#M349497</guid>
      <dc:creator />
      <dc:date>2016-01-06T14:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting data in straight table between two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-data-in-straight-table-between-two-tables/m-p/1037053#M349498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you can use a set analysis expression for this. Try an if statement: Sum( if(Country=Country_Name, Amount))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 17:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-data-in-straight-table-between-two-tables/m-p/1037053#M349498</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-01-06T17:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting data in straight table between two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-data-in-straight-table-between-two-tables/m-p/1037054#M349499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Worked. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 08:11:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-data-in-straight-table-between-two-tables/m-p/1037054#M349499</guid>
      <dc:creator />
      <dc:date>2016-01-07T08:11:35Z</dc:date>
    </item>
  </channel>
</rss>

