<?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, get the relations of the selection without the selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-get-the-relations-of-the-selection-without-the/m-p/1408144#M809501</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Consider two list boxes with product line and worker.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you select a worker, this worker should be green / selected (and all other grey) while the related product line should get white / possible, while the other unrelated lines get grey. Right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, what your set analysis is saying:&lt;/P&gt;&lt;P&gt;a) Make a selection (only in the context of the aggregation) in field product line for the possible / white values&lt;/P&gt;&lt;P&gt;b) clear the active user selection in field worker&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should lead to (only in the context of the aggregation)&lt;/P&gt;&lt;P&gt;a) a selection in field product line&lt;/P&gt;&lt;P&gt;b) no selection in worker field, all related workers are possible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess that's what you want if you say '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;at the same time show the &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;metric&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; for the &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;product line'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I might miss something, because you haven't told us much about your the context of your measures (chart / dimensions).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't fully understood '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;A senior coworker told me that this was incorrect becose the expression P() needed to take some values, is not allways true then i guess?' can you or your co-worker give some sample?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;You don't need to pass any arguments to p() function, but you can. Have a look at the HELP for full syntax.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Oct 2017 11:01:33 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2017-10-06T11:01:33Z</dc:date>
    <item>
      <title>Set analysis, get the relations of the selection without the selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-get-the-relations-of-the-selection-without-the/m-p/1408140#M809497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know the title may look somewhat confuse but i will try to expain it the best i can now:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 fields that are related: &lt;STRONG&gt;worker&lt;/STRONG&gt; and &lt;STRONG&gt;product line&lt;/STRONG&gt;. Each &lt;STRONG&gt;worker&lt;/STRONG&gt; only works in 1 &lt;STRONG&gt;product line&lt;/STRONG&gt; but each &lt;STRONG&gt;product line&lt;/STRONG&gt; has multiple &lt;STRONG&gt;workers&lt;/STRONG&gt; [1,*]. There is a 3rd field, also related to both of them which is a &lt;STRONG&gt;metric&lt;/STRONG&gt; to which i need to appy a count (it ends up in an expression as count([&lt;STRONG&gt;FIELD&lt;/STRONG&gt;]).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that i need to represent at the same time the metric for &lt;STRONG&gt;workers&lt;/STRONG&gt; and for &lt;STRONG&gt;product line&lt;/STRONG&gt;. What i want is to select 1&lt;STRONG&gt; worker&lt;/STRONG&gt; and show his/her &lt;STRONG&gt;metric&lt;/STRONG&gt; and, at the same time show the &lt;STRONG&gt;metric&lt;/STRONG&gt; for the &lt;STRONG&gt;product line&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also would rather prefer to not use islands (tho if there is no other way it is fine). As information I moreless achived this doing: =count({$&amp;lt; Product line=P(), Worker=&amp;gt;} FIELD)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; But this seems to have no sense to me, does it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time and help.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lluís&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/Set-analysis-get-the-relations-of-the-selection-without-the/m-p/1408140#M809497</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis, get the relations of the selection without the selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-get-the-relations-of-the-selection-without-the/m-p/1408141#M809498</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; font-size: 13px;"&gt;=count({$&amp;lt; Product line=P(), Worker=&amp;gt;} FIELD)&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;That's what I would had proposed, too. What's your concern?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 10:39:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-get-the-relations-of-the-selection-without-the/m-p/1408141#M809498</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-10-06T10:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis, get the relations of the selection without the selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-get-the-relations-of-the-selection-without-the/m-p/1408142#M809499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Product line=P() means that qlik is taking the values related to the worker selected? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A senior coworker told me that this was incorrect becose the expression P() needed to take some values, is not allways true then i guess?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help Stefan, i am reading a lot of threads where you helped &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 10:50:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-get-the-relations-of-the-selection-without-the/m-p/1408142#M809499</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-06T10:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis, get the relations of the selection without the selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-get-the-relations-of-the-selection-without-the/m-p/1408143#M809500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To remove that confusion, you can always use:&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; font-size: 13px;"&gt;=count({$&amp;lt; [Product line]=P(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Product line]&lt;/SPAN&gt;), Worker=&amp;gt;} FIELD) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 10:54:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-get-the-relations-of-the-selection-without-the/m-p/1408143#M809500</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-10-06T10:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis, get the relations of the selection without the selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-get-the-relations-of-the-selection-without-the/m-p/1408144#M809501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Consider two list boxes with product line and worker.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you select a worker, this worker should be green / selected (and all other grey) while the related product line should get white / possible, while the other unrelated lines get grey. Right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, what your set analysis is saying:&lt;/P&gt;&lt;P&gt;a) Make a selection (only in the context of the aggregation) in field product line for the possible / white values&lt;/P&gt;&lt;P&gt;b) clear the active user selection in field worker&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should lead to (only in the context of the aggregation)&lt;/P&gt;&lt;P&gt;a) a selection in field product line&lt;/P&gt;&lt;P&gt;b) no selection in worker field, all related workers are possible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess that's what you want if you say '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;at the same time show the &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;metric&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; for the &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;product line'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I might miss something, because you haven't told us much about your the context of your measures (chart / dimensions).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't fully understood '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;A senior coworker told me that this was incorrect becose the expression P() needed to take some values, is not allways true then i guess?' can you or your co-worker give some sample?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;You don't need to pass any arguments to p() function, but you can. Have a look at the HELP for full syntax.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 11:01:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-get-the-relations-of-the-selection-without-the/m-p/1408144#M809501</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-10-06T11:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis, get the relations of the selection without the selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-get-the-relations-of-the-selection-without-the/m-p/1408145#M809502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This was it!! &lt;SPAN style="font-size: 13.3333px;"&gt;You made it clear&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks for the explanation! &lt;/P&gt;&lt;P&gt;Regarards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 11:09:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-get-the-relations-of-the-selection-without-the/m-p/1408145#M809502</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-06T11:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis, get the relations of the selection without the selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-get-the-relations-of-the-selection-without-the/m-p/1408146#M809503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice idea. I am just starting with qlik so i am somehow confused &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 11:11:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-get-the-relations-of-the-selection-without-the/m-p/1408146#M809503</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-06T11:11:02Z</dc:date>
    </item>
  </channel>
</rss>

