<?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 Change to Set Analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Change-to-Set-Analysis/m-p/1671678#M50797</link>
    <description>&lt;P&gt;Hello colleagues,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please, give me advice how, can I change this IF expression for set analysis analog?&lt;/P&gt;&lt;P&gt;if ((Date(last_date) - Date(date)) &amp;gt; 30, Count(distinct user_id),0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Dec 2021 20:43:45 GMT</pubDate>
    <dc:creator>antonaks</dc:creator>
    <dc:date>2021-12-21T20:43:45Z</dc:date>
    <item>
      <title>Change to Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Change-to-Set-Analysis/m-p/1671678#M50797</link>
      <description>&lt;P&gt;Hello colleagues,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please, give me advice how, can I change this IF expression for set analysis analog?&lt;/P&gt;&lt;P&gt;if ((Date(last_date) - Date(date)) &amp;gt; 30, Count(distinct user_id),0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 20:43:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Change-to-Set-Analysis/m-p/1671678#M50797</guid>
      <dc:creator>antonaks</dc:creator>
      <dc:date>2021-12-21T20:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Change to Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Change-to-Set-Analysis/m-p/1671706#M50800</link>
      <description>&lt;P&gt;Set analysis is a filter, not a conditional. Therefore you can't replace that If with a set expression.&lt;/P&gt;&lt;P&gt;If you meant Count(If(....)), then you could use a set expression, but that is very different (with a different result) to what you posted.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 09:55:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Change-to-Set-Analysis/m-p/1671706#M50800</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2020-02-03T09:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Change to Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Change-to-Set-Analysis/m-p/1671713#M50802</link>
      <description>&lt;P&gt;I'm sorry. Yes I mean&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;Count(If(....)) expression.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 10:19:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Change-to-Set-Analysis/m-p/1671713#M50802</guid>
      <dc:creator>antonaks</dc:creator>
      <dc:date>2020-02-03T10:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Change to Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Change-to-Set-Analysis/m-p/1671715#M50803</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;Maybe you can create the day's difference in the back end&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Date(last_date) - Date(date) as DateDiff&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;you can use this expression in the front end&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Days={"&amp;gt;=30"}&amp;gt;}OrderID)&lt;/P&gt;&lt;P&gt;You can use directly in expression but it should be KPI and dates should be filtered&lt;/P&gt;&lt;P&gt;Count(&lt;SPAN&gt;distinct&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;{&amp;lt;$(=Fabs(max(&lt;SPAN&gt;last_date&lt;/SPAN&gt;) - max(&lt;SPAN&gt;date&lt;/SPAN&gt;)))={"&amp;gt;=30"}&amp;gt;}&lt;SPAN&gt;user_id&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;Hope this info helps&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 10:22:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Change-to-Set-Analysis/m-p/1671715#M50803</guid>
      <dc:creator>Kashyap_R</dc:creator>
      <dc:date>2020-02-03T10:22:02Z</dc:date>
    </item>
  </channel>
</rss>

