<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1141021#M521395</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please ignore my previous message.&lt;/P&gt;&lt;P&gt;the below expression works&lt;/P&gt;&lt;P&gt;sum({&amp;lt;sign_flag = {'1'}&amp;gt;} Aggr(((order_startdate - product_startdate)),apt_id)) &lt;/P&gt;&lt;P&gt;now i need to add the condition (&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;product_startdate &amp;lt; order_startdate) in the above expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;how do i add this to the expression.&lt;/P&gt;&lt;P&gt;please help me with this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Jaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jun 2016 08:01:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-06-08T08:01:15Z</dc:date>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1141017#M521391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All, i need to write a set analysis expression. for when sign_flag = 1 and (orderdate - shipmentdate) &amp;gt; 0 then show (orderdate - shipmentdate) i tried writing something like =if((orderdate - shipmentdate))&amp;gt; 0 and count({}(orderdate - shipmentdate)) but it doesnt work, please i need your help urgently. Thanks &amp;amp; Regards, Jaya &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2016 10:28:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1141017#M521391</guid>
      <dc:creator />
      <dc:date>2016-06-07T10:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1141018#M521392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=count({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sign_flag ={1},OrderDate={"=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;OrderDate-&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;shipmentdate&amp;gt;0&lt;/SPAN&gt;&lt;/SPAN&gt;"}&lt;/SPAN&gt;&amp;gt;}OrderID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2016 12:01:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1141018#M521392</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-06-07T12:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1141019#M521393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;orderdate - shipmentdate &amp;gt; 0, Sum({&amp;lt;sign_flag = {1}&amp;gt;} &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;orderdate - shipmentdate)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;If(Only({&amp;lt;sign_flag = {1}&amp;gt;} &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;orderdate - shipmentdate) &amp;gt; 0, Sum({&amp;lt;sign_flag = {1}&amp;gt;} &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;orderdate - shipmentdate)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2016 12:02:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1141019#M521393</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-07T12:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1141020#M521394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Sunny and kushal.&lt;/P&gt;&lt;P&gt;Some how the expression you gave didnt work in my application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried this sum({&amp;lt;sign_flag = {'1'}&amp;gt;} aggr(((order_startdate - productdate)),order_id))&amp;nbsp; in the pivot table but&lt;/P&gt;&lt;P&gt;still i dont get the desired data..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i want the days differnce of the productdate is before the order date and want those days.&lt;/P&gt;&lt;P&gt;for example if the productdate is 01.05.2016 and the order_startdate is 06.05.2016..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2016 07:09:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1141020#M521394</guid>
      <dc:creator />
      <dc:date>2016-06-08T07:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1141021#M521395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please ignore my previous message.&lt;/P&gt;&lt;P&gt;the below expression works&lt;/P&gt;&lt;P&gt;sum({&amp;lt;sign_flag = {'1'}&amp;gt;} Aggr(((order_startdate - product_startdate)),apt_id)) &lt;/P&gt;&lt;P&gt;now i need to add the condition (&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;product_startdate &amp;lt; order_startdate) in the above expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;how do i add this to the expression.&lt;/P&gt;&lt;P&gt;please help me with this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Jaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2016 08:01:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1141021#M521395</guid>
      <dc:creator />
      <dc:date>2016-06-08T08:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1141022#M521396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum({&amp;lt;sign_flag = {'1'}&amp;gt;} Aggr(&lt;SPAN style="color: #ff0000;"&gt;If(&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;product_startdate &amp;lt; order_startdate,&lt;/SPAN&gt;&lt;/SPAN&gt; order_startdate - product_startdate),apt_id))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2016 09:50:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1141022#M521396</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-08T09:50:04Z</dc:date>
    </item>
  </channel>
</rss>

