<?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: Transfer selections from current selections to another set in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Transfer-selections-from-current-selections-to-another-set/m-p/1235580#M869567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't fully understand your issue, but for transferring selections from states in set analysis you can do as follows:&lt;/P&gt;&lt;P&gt;=SUM({$&amp;lt;Field1=&lt;STRONG&gt;SetName::Field1&lt;/STRONG&gt;&amp;gt;} Field2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say that we want to sum all values in Sales field on the state X but considering the dates of the current selections, it would be:&lt;/P&gt;&lt;P&gt;=SUM( &lt;STRONG&gt;{X&amp;lt;Date=$::Date&amp;gt;}&lt;/STRONG&gt; Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or sum the budget for all data except for region that will be considered based on current selections:&lt;/P&gt;&lt;P&gt;=SUM({1&amp;lt;Region=&lt;STRONG&gt;$::Region&lt;/STRONG&gt;&amp;gt;} Budget)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Nov 2016 12:18:12 GMT</pubDate>
    <dc:creator>santiago_respane</dc:creator>
    <dc:date>2016-11-28T12:18:12Z</dc:date>
    <item>
      <title>Transfer selections from current selections to another set</title>
      <link>https://community.qlik.com/t5/QlikView/Transfer-selections-from-current-selections-to-another-set/m-p/1235578#M869565</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;I have a master calendar that reduces the data table for 2 sets of tables from one selection in the master calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are keys generated in the load script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Open Balance Table] KEY_Open Balance Date &amp;lt; Master Calendar &amp;gt; KEY_Fact Date [Fact Table]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Any selection in master calendar reduces the tables either side&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I then transfer selections made on the fact table to the Open balance table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to use set analysis and get field selections? or is there another way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;COUNT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Open_Balance_CountryID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[CountryID]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CaseID_Open_Balance&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transfer-selections-from-current-selections-to-another-set/m-p/1235578#M869565</guid>
      <dc:creator>tinkerz1</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Transfer selections from current selections to another set</title>
      <link>https://community.qlik.com/t5/QlikView/Transfer-selections-from-current-selections-to-another-set/m-p/1235579#M869566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try it with p():&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;COUNT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Open_Balance_CountryID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;STRONG&gt;p(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #800000; font-size: 8pt;"&gt;[CountryID]&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CaseID_Open_Balance&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 12:13:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transfer-selections-from-current-selections-to-another-set/m-p/1235579#M869566</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-11-28T12:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Transfer selections from current selections to another set</title>
      <link>https://community.qlik.com/t5/QlikView/Transfer-selections-from-current-selections-to-another-set/m-p/1235580#M869567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't fully understand your issue, but for transferring selections from states in set analysis you can do as follows:&lt;/P&gt;&lt;P&gt;=SUM({$&amp;lt;Field1=&lt;STRONG&gt;SetName::Field1&lt;/STRONG&gt;&amp;gt;} Field2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say that we want to sum all values in Sales field on the state X but considering the dates of the current selections, it would be:&lt;/P&gt;&lt;P&gt;=SUM( &lt;STRONG&gt;{X&amp;lt;Date=$::Date&amp;gt;}&lt;/STRONG&gt; Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or sum the budget for all data except for region that will be considered based on current selections:&lt;/P&gt;&lt;P&gt;=SUM({1&amp;lt;Region=&lt;STRONG&gt;$::Region&lt;/STRONG&gt;&amp;gt;} Budget)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 12:18:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transfer-selections-from-current-selections-to-another-set/m-p/1235580#M869567</guid>
      <dc:creator>santiago_respane</dc:creator>
      <dc:date>2016-11-28T12:18:12Z</dc:date>
    </item>
  </channel>
</rss>

