<?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 - date based on another date in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-date-based-on-another-date/m-p/1649443#M48431</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am glad it helped you ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;regarding set analysis, set analysis allows you to replicate a selection action in the model just for the expression&lt;BR /&gt;and selections are an action at model level and not row level&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2019 07:58:43 GMT</pubDate>
    <dc:creator>lironbaram</dc:creator>
    <dc:date>2019-11-21T07:58:43Z</dc:date>
    <item>
      <title>Set Analysis - date based on another date</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-date-based-on-another-date/m-p/1649257#M48413</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;I am building a Set Analysis based on two dates, Load Date and Inventory Date. The condition is that, if a Load Date for another falls on the same date of an inventory date, it should raise a flag, cause we avoid loading on inventory dates.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried building a set analysis like below, however, it is not working. The set analysis I tried is below:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Count(distinct{&amp;lt;[Load Date]={"$(=Date([Work Date]))"}&amp;gt;}SALES_ID)&lt;/P&gt;&lt;P&gt;If I use the IF condition like below, how do I aggregate the count?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If([Load Date]=[Work Date],count(distinct SALES_ID))&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Luiz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:37:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-date-based-on-another-date/m-p/1649257#M48413</guid>
      <dc:creator>luizcdepaula</dc:creator>
      <dc:date>2024-11-16T19:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - date based on another date</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-date-based-on-another-date/m-p/1649259#M48414</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can use&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;count(&amp;nbsp;distinct If([Load Date]=[Work Date],SALES_ID))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;by the way set analysis won't work , because it making selection in the app level , &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and not estimating conditions at row level &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 16:19:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-date-based-on-another-date/m-p/1649259#M48414</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2019-11-20T16:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - date based on another date</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-date-based-on-another-date/m-p/1649354#M48420</link>
      <description>&lt;P&gt;Hi Lironbaram,&lt;/P&gt;&lt;P&gt;This works. I knew it was a simple solution using IF, but I couldn't figure out the right place to use. Very good to know that it would not work with Set Analysis. So, Set Analysis never estimate conditions at row level?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Luiz&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 21:05:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-date-based-on-another-date/m-p/1649354#M48420</guid>
      <dc:creator>luizcdepaula</dc:creator>
      <dc:date>2019-11-20T21:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - date based on another date</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-date-based-on-another-date/m-p/1649443#M48431</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am glad it helped you ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;regarding set analysis, set analysis allows you to replicate a selection action in the model just for the expression&lt;BR /&gt;and selections are an action at model level and not row level&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 07:58:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-date-based-on-another-date/m-p/1649443#M48431</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2019-11-21T07:58:43Z</dc:date>
    </item>
  </channel>
</rss>

