<?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 help in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/set-analysis-help/m-p/2514415#M105498</link>
    <description>&lt;P&gt;It's not possible because comparing two fields against each other requires a row-level evaluation but set analysis is a column-level evaluation. Further NULL doesn't exists and could be therefore not directly queried within a set analysis.&lt;/P&gt;&lt;P&gt;I suggest to consider to transfer the essential parts into the data-model which might be just:&lt;/P&gt;&lt;P&gt;coalesce(sign(&lt;STRONG&gt;[lease end date] -&amp;nbsp;Final_Term_Date&lt;/STRONG&gt;), 2) as Flag&lt;/P&gt;&lt;P&gt;and then something like:&lt;/P&gt;&lt;P&gt;count({&amp;lt; Flag = {0, 2}, &lt;STRONG&gt;[continuing occupancy] = {'N'}&amp;nbsp;&lt;/STRONG&gt;&amp;gt;} &lt;STRONG&gt;[Lease ref]&lt;/STRONG&gt;)&lt;/P&gt;</description>
    <pubDate>Tue, 15 Apr 2025 10:41:08 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2025-04-15T10:41:08Z</dc:date>
    <item>
      <title>set analysis help</title>
      <link>https://community.qlik.com/t5/App-Development/set-analysis-help/m-p/2514364#M105485</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have to write this below IF caluse in set analyis. Could you please helop.&lt;/P&gt;&lt;P&gt;If caluse:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if((num([lease end date]) = num(Final_Term_Date)) or isNull(Final_Term_Date) and [continuing occupancy] = 'N',[Lease ref])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 06:09:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/set-analysis-help/m-p/2514364#M105485</guid>
      <dc:creator>Krish2459_58</dc:creator>
      <dc:date>2025-04-15T06:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis help</title>
      <link>https://community.qlik.com/t5/App-Development/set-analysis-help/m-p/2514415#M105498</link>
      <description>&lt;P&gt;It's not possible because comparing two fields against each other requires a row-level evaluation but set analysis is a column-level evaluation. Further NULL doesn't exists and could be therefore not directly queried within a set analysis.&lt;/P&gt;&lt;P&gt;I suggest to consider to transfer the essential parts into the data-model which might be just:&lt;/P&gt;&lt;P&gt;coalesce(sign(&lt;STRONG&gt;[lease end date] -&amp;nbsp;Final_Term_Date&lt;/STRONG&gt;), 2) as Flag&lt;/P&gt;&lt;P&gt;and then something like:&lt;/P&gt;&lt;P&gt;count({&amp;lt; Flag = {0, 2}, &lt;STRONG&gt;[continuing occupancy] = {'N'}&amp;nbsp;&lt;/STRONG&gt;&amp;gt;} &lt;STRONG&gt;[Lease ref]&lt;/STRONG&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 10:41:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/set-analysis-help/m-p/2514415#M105498</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-04-15T10:41:08Z</dc:date>
    </item>
  </channel>
</rss>

