<?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: Filter is not ignored by {1&amp;lt;&amp;gt;} set expressions in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Filter-is-not-ignored-by-1-lt-gt-set-expressions/m-p/95561#M6367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attached a test app. that demonstrates my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expectation is that when making changes to the segment filter, it does NOT change the value in the KPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(The KPI shows the number of unique stations that are have a lower discount on date 2 compare to date 1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Sep 2018 07:35:05 GMT</pubDate>
    <dc:creator>rasmusnielsen</dc:creator>
    <dc:date>2018-09-21T07:35:05Z</dc:date>
    <item>
      <title>Filter is not ignored by {1&lt;&gt;} set expressions</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-is-not-ignored-by-1-lt-gt-set-expressions/m-p/95560#M6366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following measure in a KPI in my Qlik Sense app:&lt;/P&gt;&lt;P&gt;Count({1}distinct Aggr({1&amp;lt;date={"$(vCompareDate2)"}&amp;gt;} If(Avg({1&amp;lt;date={"$(vCompareDate1)"}&amp;gt;} discount) &amp;gt; Avg({1&amp;lt;date={"$(vCompareDate2)"}&amp;gt;} discount), station), station, product))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My model looks like&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="174" style="border: 1px solid #000000; height: 175px; width: 149px;" width="147"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Data&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;station&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;product&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;segment&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;brand&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;discount&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a filter on the segment.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;When I make changes to the segment filter, it also updates my KPI, which (to my best knowledge) SHOULD IGNORE segment values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Segment is not part of the AGGR and I have spread a bunch of {1} set expressions, which should ignore segment filter as well.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2018 07:22:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-is-not-ignored-by-1-lt-gt-set-expressions/m-p/95560#M6366</guid>
      <dc:creator>rasmusnielsen</dc:creator>
      <dc:date>2018-09-21T07:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Filter is not ignored by {1&lt;&gt;} set expressions</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-is-not-ignored-by-1-lt-gt-set-expressions/m-p/95561#M6367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attached a test app. that demonstrates my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expectation is that when making changes to the segment filter, it does NOT change the value in the KPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(The KPI shows the number of unique stations that are have a lower discount on date 2 compare to date 1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2018 07:35:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-is-not-ignored-by-1-lt-gt-set-expressions/m-p/95561#M6367</guid>
      <dc:creator>rasmusnielsen</dc:creator>
      <dc:date>2018-09-21T07:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Filter is not ignored by {1&lt;&gt;} set expressions</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-is-not-ignored-by-1-lt-gt-set-expressions/m-p/95562#M6368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ahh, after reading:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3779"&gt;Use Aggregation Functions!&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I finally made it work using:&lt;/P&gt;&lt;P&gt;Count({1} distinct Aggr(If(Avg({1&amp;lt;date={"$(vCompareDate1)"}&amp;gt;} discount) &amp;gt; Avg({1&amp;lt;date={"$(vCompareDate2)"}&amp;gt;} discount), Only({1}station)), station, product))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2018 08:10:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-is-not-ignored-by-1-lt-gt-set-expressions/m-p/95562#M6368</guid>
      <dc:creator>rasmusnielsen</dc:creator>
      <dc:date>2018-09-21T08:10:07Z</dc:date>
    </item>
  </channel>
</rss>

