<?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 Copy selected value from one field to another set analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Copy-selected-value-from-one-field-to-another-set-analysis/m-p/1794331#M62219</link>
    <description>&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;Have 2 tables that &lt;STRONG&gt;are not linked.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My case:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;- user select value from T1 field1 - 22-12-20&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;- user select value from T2 field2 - 23-12-20&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And now I need to copy value from&amp;nbsp;&lt;STRONG&gt;T2 field2 - 23-12-20 to&amp;nbsp; T1 field1 - 22-12-20 in set analysis&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;So like SUM( {&amp;lt;&lt;STRONG&gt; field1= {'22-12-20, 23-12-20'}&amp;nbsp;&lt;/STRONG&gt;&amp;gt;}items)&lt;/P&gt;&lt;P&gt;Does it possible?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Mar 2021 08:28:43 GMT</pubDate>
    <dc:creator>Micki</dc:creator>
    <dc:date>2021-03-25T08:28:43Z</dc:date>
    <item>
      <title>Copy selected value from one field to another set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Copy-selected-value-from-one-field-to-another-set-analysis/m-p/1794331#M62219</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;Have 2 tables that &lt;STRONG&gt;are not linked.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My case:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;- user select value from T1 field1 - 22-12-20&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;- user select value from T2 field2 - 23-12-20&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And now I need to copy value from&amp;nbsp;&lt;STRONG&gt;T2 field2 - 23-12-20 to&amp;nbsp; T1 field1 - 22-12-20 in set analysis&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;So like SUM( {&amp;lt;&lt;STRONG&gt; field1= {'22-12-20, 23-12-20'}&amp;nbsp;&lt;/STRONG&gt;&amp;gt;}items)&lt;/P&gt;&lt;P&gt;Does it possible?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 08:28:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Copy-selected-value-from-one-field-to-another-set-analysis/m-p/1794331#M62219</guid>
      <dc:creator>Micki</dc:creator>
      <dc:date>2021-03-25T08:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Copy selected value from one field to another set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Copy-selected-value-from-one-field-to-another-set-analysis/m-p/1794333#M62221</link>
      <description>&lt;P&gt;yes it is possible. use getfieldSelection()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant Sangle&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 08:35:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Copy-selected-value-from-one-field-to-another-set-analysis/m-p/1794333#M62221</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2021-03-25T08:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Copy selected value from one field to another set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Copy-selected-value-from-one-field-to-another-set-analysis/m-p/1794355#M62223</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/42758"&gt;@PrashantSangle&lt;/a&gt;&amp;nbsp;, good to know that is possible:), could you please provide an example or fix my example&lt;/P&gt;&lt;P&gt;What i Did:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[Field1]={"$(var), $(var1)"}&amp;gt;} items)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Var =Replace(GetFieldSelections([Field1]),', ','","')&lt;/P&gt;&lt;P&gt;Var1 =Replace(GetFieldSelections([Field2]),', ','","')&lt;/P&gt;&lt;P&gt;So when i select one date from Field 1 and another from Field 2 it's not showing the&amp;nbsp; anything&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 10:11:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Copy-selected-value-from-one-field-to-another-set-analysis/m-p/1794355#M62223</guid>
      <dc:creator>Micki</dc:creator>
      <dc:date>2021-03-25T10:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Copy selected value from one field to another set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Copy-selected-value-from-one-field-to-another-set-analysis/m-p/1794633#M62260</link>
      <description>&lt;P&gt;The Set Analysis function used to filter from a not-linked field is P().&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;SUM( {&amp;lt;&amp;nbsp;field1 = P(field2)&amp;gt;}items)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In your case it looks like you want to match selections from both field1 and field2. So:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;SUM( {&amp;lt;&amp;nbsp;field1 = P(field1)&amp;gt; + &amp;lt;&amp;nbsp;field1 = P(field2)&amp;gt;}items)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;SUM( {$&amp;nbsp;+ &amp;lt;&amp;nbsp;field1 = P(field2)&amp;gt;}items)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank" rel="noopener"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank" rel="noopener"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank" rel="noopener"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Mar 2021 15:31:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Copy-selected-value-from-one-field-to-another-set-analysis/m-p/1794633#M62260</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2021-03-28T15:31:00Z</dc:date>
    </item>
  </channel>
</rss>

