<?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: Classify based on in-app user selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Classify-based-on-in-app-user-selection/m-p/72542#M786176</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like Miguel has suggested some more information would be great on the logic defining in and out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you just want to get the Facility.regoin that matches a selected value try something like &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;if( facility.region = GetFieldSelections(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;customer.region&lt;/SPAN&gt;), 'In','Out').&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;Mark&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Feb 2018 14:19:53 GMT</pubDate>
    <dc:creator>Mark_Little</dc:creator>
    <dc:date>2018-02-22T14:19:53Z</dc:date>
    <item>
      <title>Classify based on in-app user selection</title>
      <link>https://community.qlik.com/t5/QlikView/Classify-based-on-in-app-user-selection/m-p/72540#M786174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having trouble with an app where the user can select a region where the customer originated then see if the customer used a facility in their region.&amp;nbsp; Here is an example dataset :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Facility.Region, Customer.Region, Volume inline [&lt;/P&gt;&lt;P&gt;Facility.Region, Customer.Region, Volume&lt;/P&gt;&lt;P&gt;1, 1, 100&lt;/P&gt;&lt;P&gt;1, 2, 200&lt;/P&gt;&lt;P&gt;1, 3, 300&lt;/P&gt;&lt;P&gt;2, 2, 200&lt;/P&gt;&lt;P&gt;2, 4, 300&lt;/P&gt;&lt;P&gt;3, 1, 300&lt;/P&gt;&lt;P&gt;3, 3, 400];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The desired out come is classifying a facility as 'In' our 'Out' of market based on the user selection of the customer region.&lt;/P&gt;&lt;P&gt;Example: user selects customer region = 2 then facility region 2 classified as 'In' and facility region 1 &amp;amp; 3 as 'Out'. My problem is that facility region 2 get classified as both 'In' and&amp;nbsp; 'Out' when I use if(customer.region = facility.region, 'In','Out'). I am not sure where to begin if set analysis is the best way.&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/Classify-based-on-in-app-user-selection/m-p/72540#M786174</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Classify based on in-app user selection</title>
      <link>https://community.qlik.com/t5/QlikView/Classify-based-on-in-app-user-selection/m-p/72541#M786175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are the criteria to keep in or out? If a value is the same in both fields, it is both In and Out, unless you apply additional filters&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 14:08:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Classify-based-on-in-app-user-selection/m-p/72541#M786175</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2018-02-22T14:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Classify based on in-app user selection</title>
      <link>https://community.qlik.com/t5/QlikView/Classify-based-on-in-app-user-selection/m-p/72542#M786176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like Miguel has suggested some more information would be great on the logic defining in and out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you just want to get the Facility.regoin that matches a selected value try something like &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;if( facility.region = GetFieldSelections(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;customer.region&lt;/SPAN&gt;), 'In','Out').&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;Mark&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 14:19:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Classify-based-on-in-app-user-selection/m-p/72542#M786176</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2018-02-22T14:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Classify based on in-app user selection</title>
      <link>https://community.qlik.com/t5/QlikView/Classify-based-on-in-app-user-selection/m-p/72543#M786177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the criteria for 'In' is if the facility region is 'In' the list of customer regions that the user has chosen. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 16:44:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Classify-based-on-in-app-user-selection/m-p/72543#M786177</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-22T16:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Classify based on in-app user selection</title>
      <link>https://community.qlik.com/t5/QlikView/Classify-based-on-in-app-user-selection/m-p/72544#M786178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I got it, but other please feel free to evaluate:&lt;/P&gt;&lt;P&gt;aggr(max(if(facility.region = customer.region,1,0)),facility.region)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if others have suggestion to refine the approach I am interested.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 17:18:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Classify-based-on-in-app-user-selection/m-p/72544#M786178</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-22T17:18:21Z</dc:date>
    </item>
  </channel>
</rss>

