<?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 &amp;quot;Or&amp;quot; expression in set analysis no longer working in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/quot-Or-quot-expression-in-set-analysis-no-longer-working/m-p/1797520#M64483</link>
    <description>&lt;P&gt;Several of our KPIs that have similar a set analysis expressions (using an "OR" condition) returns &lt;STRONG&gt;0&lt;/STRONG&gt;, after a full reload. However, after the app is duplicated, the correct value would appear.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is an example.&lt;/P&gt;&lt;P&gt;count(distinct&lt;BR /&gt;{&amp;lt;&lt;BR /&gt;emp_action_descr={'Hire','Hire Employee','Contract Contingent Worker'}&lt;BR /&gt;,effective={"&amp;gt;=$(=$(vCurrentYTDHr))&amp;lt;=$(=$(vCurrentDateH))"}&lt;BR /&gt;,emp_action_reason_descr-={'Non Starter Hire','Non-Starter Hire'}&lt;BR /&gt;,EOM=,EOMY=&lt;BR /&gt;&amp;gt;&lt;BR /&gt;+&lt;BR /&gt;&amp;lt;&lt;BR /&gt;emp_action_descr={'Transfer'}&lt;BR /&gt;,effective={"&amp;gt;=$(=$(vCurrentYTDHr))&amp;lt;=$(=$(vCurrentDateH))"}&lt;BR /&gt;,emp_action_reason_descr={'POI to CWR Conversion'}&lt;BR /&gt;,EOM=,EOMY=&lt;BR /&gt;&amp;gt;&lt;BR /&gt;}&lt;BR /&gt;emp_key)&lt;/P&gt;&lt;P&gt;The other curious things is that, when testing out this expression, and running each of the OR segments on their own, there is no problem.&amp;nbsp; Any insights would be appreciated.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Apr 2021 11:45:49 GMT</pubDate>
    <dc:creator>click-er</dc:creator>
    <dc:date>2021-04-07T11:45:49Z</dc:date>
    <item>
      <title>"Or" expression in set analysis no longer working</title>
      <link>https://community.qlik.com/t5/App-Development/quot-Or-quot-expression-in-set-analysis-no-longer-working/m-p/1797520#M64483</link>
      <description>&lt;P&gt;Several of our KPIs that have similar a set analysis expressions (using an "OR" condition) returns &lt;STRONG&gt;0&lt;/STRONG&gt;, after a full reload. However, after the app is duplicated, the correct value would appear.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is an example.&lt;/P&gt;&lt;P&gt;count(distinct&lt;BR /&gt;{&amp;lt;&lt;BR /&gt;emp_action_descr={'Hire','Hire Employee','Contract Contingent Worker'}&lt;BR /&gt;,effective={"&amp;gt;=$(=$(vCurrentYTDHr))&amp;lt;=$(=$(vCurrentDateH))"}&lt;BR /&gt;,emp_action_reason_descr-={'Non Starter Hire','Non-Starter Hire'}&lt;BR /&gt;,EOM=,EOMY=&lt;BR /&gt;&amp;gt;&lt;BR /&gt;+&lt;BR /&gt;&amp;lt;&lt;BR /&gt;emp_action_descr={'Transfer'}&lt;BR /&gt;,effective={"&amp;gt;=$(=$(vCurrentYTDHr))&amp;lt;=$(=$(vCurrentDateH))"}&lt;BR /&gt;,emp_action_reason_descr={'POI to CWR Conversion'}&lt;BR /&gt;,EOM=,EOMY=&lt;BR /&gt;&amp;gt;&lt;BR /&gt;}&lt;BR /&gt;emp_key)&lt;/P&gt;&lt;P&gt;The other curious things is that, when testing out this expression, and running each of the OR segments on their own, there is no problem.&amp;nbsp; Any insights would be appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 11:45:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/quot-Or-quot-expression-in-set-analysis-no-longer-working/m-p/1797520#M64483</guid>
      <dc:creator>click-er</dc:creator>
      <dc:date>2021-04-07T11:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: "Or" expression in set analysis no longer working</title>
      <link>https://community.qlik.com/t5/App-Development/quot-Or-quot-expression-in-set-analysis-no-longer-working/m-p/1797532#M64486</link>
      <description>&lt;P&gt;If it's don't work directly after a reload but after opening the app it could be related to any section access. Usually the effects of any data-reduction is reversed to your description but if there are any synthetic keys and/or circular loops&amp;nbsp;and/or multiple datamodels and/or partly associated section access it's thinkable.&lt;/P&gt;&lt;P&gt;Therefore I suggest to check the datamodel and if there is any section access and if they work like expected.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 12:07:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/quot-Or-quot-expression-in-set-analysis-no-longer-working/m-p/1797532#M64486</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-04-07T12:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: "Or" expression in set analysis no longer working</title>
      <link>https://community.qlik.com/t5/App-Development/quot-Or-quot-expression-in-set-analysis-no-longer-working/m-p/1797664#M64505</link>
      <description>&lt;P&gt;I don't see any "OR" condition in your expression?&amp;nbsp; The set modifiers are effectively "AND" -- is that what you meant?&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 15:58:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/quot-Or-quot-expression-in-set-analysis-no-longer-working/m-p/1797664#M64505</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2021-04-07T15:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: "Or" expression in set analysis no longer working</title>
      <link>https://community.qlik.com/t5/App-Development/quot-Or-quot-expression-in-set-analysis-no-longer-working/m-p/1797742#M64512</link>
      <description>&lt;P&gt;The "Or" condition is the "+" plus sign....as per Qlik recommended expression.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 18:51:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/quot-Or-quot-expression-in-set-analysis-no-longer-working/m-p/1797742#M64512</guid>
      <dc:creator>click-er</dc:creator>
      <dc:date>2021-04-07T18:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: "Or" expression in set analysis no longer working</title>
      <link>https://community.qlik.com/t5/App-Development/quot-Or-quot-expression-in-set-analysis-no-longer-working/m-p/1797743#M64513</link>
      <description>&lt;P&gt;Thanks. I missed that.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 18:54:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/quot-Or-quot-expression-in-set-analysis-no-longer-working/m-p/1797743#M64513</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2021-04-07T18:54:07Z</dc:date>
    </item>
  </channel>
</rss>

