<?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: Question about selected and non selected values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Question-about-selected-and-non-selected-values/m-p/1060777#M355163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(SubStringCount(Concat(Distinct y, '|'), 6) = 1 or &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;SubStringCount(Concat(Distinct y, '|'), &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; = 1, 1, 0)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE: You can use Concat() to get the selections when you are not explicitly making a selection in a field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Mar 2016 19:08:05 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-03-23T19:08:05Z</dc:date>
    <item>
      <title>Question about selected and non selected values</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-selected-and-non-selected-values/m-p/1060773#M355159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear community:&lt;/P&gt;&lt;P&gt;I'm having a problem with the selected and non selected values that I hope you can help me with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following tables &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="CapturaCarr.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/119190_CapturaCarr.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="CapturaSemDur.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/119191_CapturaSemDur.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that the green selection in the "X" table is a getfieldselection, where I can make decisions according to the value I'm comparing it with.&lt;/P&gt;&lt;P&gt;But right now, I have to set a variable according to the value that the "y" table is showing.&lt;/P&gt;&lt;P&gt;How can I do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 19:00:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-selected-and-non-selected-values/m-p/1060773#M355159</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-23T19:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Question about selected and non selected values</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-selected-and-non-selected-values/m-p/1060774#M355160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What comparison are you making? Not really sure I understand your requirement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 19:02:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-selected-and-non-selected-values/m-p/1060774#M355160</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-23T19:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Question about selected and non selected values</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-selected-and-non-selected-values/m-p/1060775#M355161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can define your variable like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Only( y )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Concat(Distinct y ,', ')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or any other aggregation function that queries the values from y. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 19:03:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-selected-and-non-selected-values/m-p/1060775#M355161</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-23T19:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Question about selected and non selected values</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-selected-and-non-selected-values/m-p/1060776#M355162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to set a variable between 0 and 1 if the field on the "y" table is 6 or 8.&lt;/P&gt;&lt;P&gt;I know that you can do a get field selection in some cases, but for the "Y" table I'm not selecting anything.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 19:05:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-selected-and-non-selected-values/m-p/1060776#M355162</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-23T19:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Question about selected and non selected values</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-selected-and-non-selected-values/m-p/1060777#M355163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(SubStringCount(Concat(Distinct y, '|'), 6) = 1 or &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;SubStringCount(Concat(Distinct y, '|'), &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; = 1, 1, 0)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE: You can use Concat() to get the selections when you are not explicitly making a selection in a field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 19:08:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-selected-and-non-selected-values/m-p/1060777#M355163</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-23T19:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Question about selected and non selected values</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-selected-and-non-selected-values/m-p/1060778#M355164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 19:12:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-selected-and-non-selected-values/m-p/1060778#M355164</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-23T19:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Question about selected and non selected values</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-selected-and-non-selected-values/m-p/1060779#M355165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If( Max({&amp;lt;y *= {6,8}&amp;gt;} y), 1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit: Missed the intersection op&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 19:14:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-selected-and-non-selected-values/m-p/1060779#M355165</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-23T19:14:01Z</dc:date>
    </item>
  </channel>
</rss>

