<?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 Dates in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysis/m-p/282244#M104921</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Extract Date]={$(=only([&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Start Date]&lt;/SPAN&gt;))}&amp;lt; &lt;/SPAN&gt;}&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;value &lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jan 2012 12:02:38 GMT</pubDate>
    <dc:creator>SunilChauhan</dc:creator>
    <dc:date>2012-01-17T12:02:38Z</dc:date>
    <item>
      <title>Dates in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysis/m-p/282243#M104920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Morning fellow QlikView enthusiasts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having a bit of a problem with some set analysis and I'm wondering if anyone can help me out??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two different date fields, Extract Date and Start Date. I want to be able to sum all of the value where these two dates are the same, I'm struggling with the syntax though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I always seem to get 0 value back and I know there are at least 6 different occurances of the same date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 11:55:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysis/m-p/282243#M104920</guid>
      <dc:creator>samvile18</dc:creator>
      <dc:date>2012-01-17T11:55:35Z</dc:date>
    </item>
    <item>
      <title>Dates in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysis/m-p/282244#M104921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Extract Date]={$(=only([&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Start Date]&lt;/SPAN&gt;))}&amp;lt; &lt;/SPAN&gt;}&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;value &lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 12:02:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysis/m-p/282244#M104921</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2012-01-17T12:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dates in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysis/m-p/282245#M104922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply but it didn't quite work, I've included the actual syntax including the additional part you've suggested...I still can't get it to work though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Extract Date]={&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;$(=Date([Start Date]))&lt;/SPAN&gt;}, &lt;SPAN style="color: #800000;"&gt;[Sales Channel]&lt;/SPAN&gt;={'FriendsLife'},&lt;SPAN style="color: #800000;"&gt;[Conversion Status]&lt;/SPAN&gt;={'2 Tender Doc Issued'}, &lt;SPAN style="color: #800000;"&gt;Status&lt;/SPAN&gt;={'Won','Live'}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 12:55:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysis/m-p/282245#M104922</guid>
      <dc:creator>samvile18</dc:creator>
      <dc:date>2012-01-17T12:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dates in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysis/m-p/282246#M104923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try putting quotes around the dollar expansion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 12px; font-family: Arial; color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 12px; font-family: Arial; color: #800000;"&gt;[Extract Date]={'&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 12px; font-family: Arial;"&gt;$(=Date([Start Date]))'&lt;/SPAN&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 12px; font-family: Arial; color: #800000;"&gt;[Sales Channel]&lt;/SPAN&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;={'FriendsLife'},&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 12px; font-family: Arial; color: #800000;"&gt;[Conversion Status]&lt;/SPAN&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;={'2 Tender Doc Issued'}, &lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 12px; font-family: Arial; color: #800000;"&gt;Status&lt;/SPAN&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;={'Won','Live'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 12px; font-family: Arial; color: #800000;"&gt;Value&lt;/SPAN&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 13:18:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysis/m-p/282246#M104923</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-01-17T13:18:58Z</dc:date>
    </item>
    <item>
      <title>Dates in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysis/m-p/282247#M104924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have a unique key per record, like ID? If not, could you create a unique key in your load (e.g. using recno() )?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you could it like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;ID={"=[Start Date]=[Extract Date]"&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;}, &lt;SPAN style="color: #800000;"&gt;[Sales Channel]&lt;/SPAN&gt;={'FriendsLife'},&lt;SPAN style="color: #800000;"&gt;[Conversion Status]&lt;/SPAN&gt;={'2 Tender Doc Issued'}, &lt;SPAN style="color: #800000;"&gt;Status&lt;/SPAN&gt;={'Won','Live'}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. you select on your record IDs, where [Start Date] value is equal to [Extract Date] value, using a search expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 14:54:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysis/m-p/282247#M104924</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-01-17T14:54:52Z</dc:date>
    </item>
    <item>
      <title>Dates in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysis/m-p/282248#M104925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent, thanks for the help guys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aaron...you're solution is working a treat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2012 10:05:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-Set-Analysis/m-p/282248#M104925</guid>
      <dc:creator>samvile18</dc:creator>
      <dc:date>2012-01-18T10:05:34Z</dc:date>
    </item>
  </channel>
</rss>

