<?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: Set Analysis - Setting a field equal to another field's selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639729#M1088954</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this, should work&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Field2=P(Field1)&amp;gt;} Count1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jun 2014 18:16:47 GMT</pubDate>
    <dc:creator>Clever_Anjos</dc:creator>
    <dc:date>2014-06-04T18:16:47Z</dc:date>
    <item>
      <title>Set Analysis - Setting a field equal to another field's selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639724#M1088949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Is it possible to set a field equal to another field's selection using set analysis?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 17:55:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639724#M1088949</guid>
      <dc:creator />
      <dc:date>2014-06-04T17:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Setting a field equal to another field's selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639725#M1088950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&amp;lt;FieldA = FieldB &amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 17:57:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639725#M1088950</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-06-04T17:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Setting a field equal to another field's selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639726#M1088951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working on the expression that when I select in Field1 it will use the value of that selection in Field2 in the expression.&amp;nbsp; Field 2 table is a subset of Field1 table.&amp;nbsp; I was thinking of this expression but it does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Field2=Field1&amp;gt;} Count1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 18:03:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639726#M1088951</guid>
      <dc:creator />
      <dc:date>2014-06-04T18:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Setting a field equal to another field's selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639727#M1088952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are your three fields related in your data model? Could you upload a small sample app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 18:07:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639727#M1088952</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-06-04T18:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Setting a field equal to another field's selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639728#M1088953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To explain further, here's where I am now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Field2= {"John"}&amp;gt;} Count1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want that "John" to be the selected value of Field1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 18:07:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639728#M1088953</guid>
      <dc:creator />
      <dc:date>2014-06-04T18:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Setting a field equal to another field's selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639729#M1088954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this, should work&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Field2=P(Field1)&amp;gt;} Count1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 18:16:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639729#M1088954</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2014-06-04T18:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Setting a field equal to another field's selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639730#M1088955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about trying to set the selected value in Field1 into a Variable, and use this variable in set analysis?&lt;/P&gt;&lt;P&gt;The variable would be somethig like this:&lt;/P&gt;&lt;P&gt;vField1 = GetFieldSelections(Field1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the set analysis, using this variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({$&amp;lt;Field2= {$(vField1)}&amp;gt;} Count1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Gabriel&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 18:17:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639730#M1088955</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-04T18:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Setting a field equal to another field's selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639731#M1088956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This worked perfectly.&amp;nbsp; Can you explain a bit what the P does.&amp;nbsp; Sorry, I'm a beginner.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 18:28:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639731#M1088956</guid>
      <dc:creator />
      <dc:date>2014-06-04T18:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Setting a field equal to another field's selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639732#M1088957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the help window:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is however an additional way to define a set of field values by the use of a nested set definition. &lt;/P&gt;&lt;P&gt;In such cases, the element functions &lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;P&lt;/SPAN&gt;() and E() must be used, representing the element set of possible values and the excluded values of a field, respectively. Inside the brackets, it is possible to specify one set expression and one field, e.g. &lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;P&lt;/SPAN&gt;({1} Customer). These functions cannot be used in other expressions:&lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;sum(&lt;/SPAN&gt; {$&amp;lt;Customer = &lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;P&lt;/SPAN&gt;({1&amp;lt;Product={‘Shoe’}&amp;gt;} Customer)&amp;gt;} Sales &lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;BR /&gt;returns the sales for current selection, but only those customers that ever have bought the product ‘Shoe’. The element function &lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;P&lt;/SPAN&gt;( ) here returns a list of possible customers; those that are implied by the selection ‘Shoe’ in the field Product. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 18:32:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639732#M1088957</guid>
      <dc:creator />
      <dc:date>2014-06-04T18:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Setting a field equal to another field's selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639733#M1088958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I end up using Clever's solution since I don't have to use variable.&amp;nbsp; Thanks for the help anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 18:35:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639733#M1088958</guid>
      <dc:creator />
      <dc:date>2014-06-04T18:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Setting a field equal to another field's selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639734#M1088959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert Daitzman already answered that&lt;/P&gt;&lt;P&gt;Think of "P" as "all possibilities" of field&lt;/P&gt;&lt;P&gt;There´s a less know "E" that stands for "except"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 18:36:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639734#M1088959</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2014-06-04T18:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Setting a field equal to another field's selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639735#M1088960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again for the help.&amp;nbsp; This is my first post too:)&amp;nbsp; I'm a happy camper!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 18:38:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639735#M1088960</guid>
      <dc:creator />
      <dc:date>2014-06-04T18:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Setting a field equal to another field's selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639736#M1088961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, but this is correct only when Field1 value has only one possible value for Field2. If Field2 has more then one possible values for Field1 value, this is not correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 12:19:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639736#M1088961</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-12T12:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Setting a field equal to another field's selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639737#M1088962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This worked, thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2018 16:21:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Setting-a-field-equal-to-another-field-s-selection/m-p/639737#M1088962</guid>
      <dc:creator>aditi_rathi</dc:creator>
      <dc:date>2018-09-03T16:21:28Z</dc:date>
    </item>
  </channel>
</rss>

