<?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: How to remove Synthetic Key in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-remove-Synthetic-Key/m-p/1982261#M81063</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/91350"&gt;@kmmqlick&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;agreed with&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but, if you still want to keep then in two tables, you can try creating a key&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;load&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;autonumber(Region&amp;amp;Year&amp;amp;Type) as key,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;Description,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; Region as sales_region,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;Year as sales_year,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;Type as sales_type,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;Sales&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;from &amp;lt;whereever you are loading table1 from&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;load&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;autonumber(Region&amp;amp;Year&amp;amp;Type) as key,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; *&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;from &amp;lt;whereever you are loading table2 from&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;as i did in table1, you can rename fieds in one of the table if you want to use both&lt;/P&gt;
&lt;P&gt;or, if all values exists in both tables, just dont load from any, and by selectiong in one, the other table will filter also.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;load&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;autonumber(Region&amp;amp;Year&amp;amp;Type) as key,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;Description,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;Sales&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;from &amp;lt;whereever you are loading table1 from&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the autonumber is not mandatory, but for better performance you should always try to link tables&amp;nbsp; using numbers and not with text&lt;/P&gt;
&lt;P&gt;best,&lt;/P&gt;</description>
    <pubDate>Sun, 18 Sep 2022 15:31:51 GMT</pubDate>
    <dc:creator>RafaelBarrios</dc:creator>
    <dc:date>2022-09-18T15:31:51Z</dc:date>
    <item>
      <title>How to remove Synthetic Key</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-remove-Synthetic-Key/m-p/1982215#M81059</link>
      <description>&lt;P&gt;Hi All i am having 2 tables with following details&lt;/P&gt;
&lt;P&gt;Table1 : This table detailed analysis of sales, based on only 1 source&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="20%"&gt;Description&lt;/TD&gt;
&lt;TD width="20%"&gt;Region( 2 Regions)&lt;/TD&gt;
&lt;TD width="20%"&gt;Year(2 Years)&lt;/TD&gt;
&lt;TD width="20%"&gt;Type(Per, Temp)&lt;/TD&gt;
&lt;TD width="10%"&gt;Sales&lt;/TD&gt;
&lt;TD width="10%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Table2: This table is consolidated sales based on regions (Some additional Regions also) from different sources&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="16.666666666666668%"&gt;Source&lt;/TD&gt;
&lt;TD width="16.666666666666668%"&gt;Region (6 Regions)&lt;/TD&gt;
&lt;TD width="16.666666666666668%"&gt;Year(2 Years)&lt;/TD&gt;
&lt;TD width="16.666666666666668%"&gt;Type(Per, Temp)&lt;/TD&gt;
&lt;TD width="16.666666666666668%"&gt;Currency&lt;/TD&gt;
&lt;TD width="16.666666666666668%"&gt;Values&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when i loaded these two tables forming a synthetic key with Region+Year+Type. How to remove the synthetic key from those two table and how to create association between two tables.&lt;/P&gt;
&lt;P&gt;I want to use Region Year Type filters commonly in from both tables for filtering.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Sep 2022 01:41:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-remove-Synthetic-Key/m-p/1982215#M81059</guid>
      <dc:creator>kmmqlick</dc:creator>
      <dc:date>2022-09-18T01:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove Synthetic Key</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-remove-Synthetic-Key/m-p/1982222#M81061</link>
      <description>&lt;P&gt;I would consider to concatenate the two sources into one table.&lt;/P&gt;
&lt;P&gt;Load&lt;/P&gt;
&lt;P&gt;Region, Year, Type,Description, Sales, null() as Currency , 'Source1' as Source&lt;/P&gt;
&lt;P&gt;From Source1;&lt;/P&gt;
&lt;P&gt;Concatenate Load&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Region, Year, Type,Null() as Description, Values as Sales,&amp;nbsp; Currency , Source&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From Source2;&lt;/P&gt;
&lt;P&gt;You can pinpoint which rows to calculate in each measure by using set analysis with a simple modifier on the Source field.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Sep 2022 06:35:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-remove-Synthetic-Key/m-p/1982222#M81061</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2022-09-18T06:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove Synthetic Key</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-remove-Synthetic-Key/m-p/1982261#M81063</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/91350"&gt;@kmmqlick&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;agreed with&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but, if you still want to keep then in two tables, you can try creating a key&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;load&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;autonumber(Region&amp;amp;Year&amp;amp;Type) as key,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;Description,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; Region as sales_region,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;Year as sales_year,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;Type as sales_type,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;Sales&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;from &amp;lt;whereever you are loading table1 from&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;load&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;autonumber(Region&amp;amp;Year&amp;amp;Type) as key,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; *&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;from &amp;lt;whereever you are loading table2 from&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;as i did in table1, you can rename fieds in one of the table if you want to use both&lt;/P&gt;
&lt;P&gt;or, if all values exists in both tables, just dont load from any, and by selectiong in one, the other table will filter also.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;load&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;autonumber(Region&amp;amp;Year&amp;amp;Type) as key,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;Description,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;Sales&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;from &amp;lt;whereever you are loading table1 from&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the autonumber is not mandatory, but for better performance you should always try to link tables&amp;nbsp; using numbers and not with text&lt;/P&gt;
&lt;P&gt;best,&lt;/P&gt;</description>
      <pubDate>Sun, 18 Sep 2022 15:31:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-remove-Synthetic-Key/m-p/1982261#M81063</guid>
      <dc:creator>RafaelBarrios</dc:creator>
      <dc:date>2022-09-18T15:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove Synthetic Key</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-remove-Synthetic-Key/m-p/1985043#M81303</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp; and&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/80977"&gt;@RafaelBarrios&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Both works to me&amp;nbsp; I went with RafelBarrios.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Sep 2022 15:36:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-remove-Synthetic-Key/m-p/1985043#M81303</guid>
      <dc:creator>kmmqlick</dc:creator>
      <dc:date>2022-09-25T15:36:16Z</dc:date>
    </item>
  </channel>
</rss>

