<?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 Using Set Analysis Dates along with Another Argument in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-Dates-along-with-Another-Argument/m-p/330736#M121794</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Count({$&amp;lt;QvsI = {"Q"}, OriginalDate=p(CalendarDateKey)&amp;gt;}QvsI)&lt;/SPAN&gt;&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;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Kaushik Solanki&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 May 2012 18:59:05 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2012-05-01T18:59:05Z</dc:date>
    <item>
      <title>Using Set Analysis Dates along with Another Argument</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-Dates-along-with-Another-Argument/m-p/330735#M121793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a pivot table that looks like the following:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image-thumbnail jive-image" height="186" onclick="" src="https://community.qlik.com/legacyfs/online/13670_Capture.JPG" width="533" /&gt;&lt;/P&gt;&lt;P&gt;For the expression for quotes I have &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;QvsI = {"Q"}, OriginalDate={"=CalendarDateKey"}&amp;gt;}QvsI).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need is for Quotes to be counting the number of records where QvsI = Q and OriginalDate = CalendarDateKey. The first one meets this criteria. Why would it not be counting it but it is counting PolicyNumberC=5018237? I think I may need to be using the date() function somewhere in the set analysis so that the dates will compare correctly but I'm not sure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 18:56:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-Dates-along-with-Another-Argument/m-p/330735#M121793</guid>
      <dc:creator />
      <dc:date>2012-05-01T18:56:45Z</dc:date>
    </item>
    <item>
      <title>Using Set Analysis Dates along with Another Argument</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-Dates-along-with-Another-Argument/m-p/330736#M121794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Count({$&amp;lt;QvsI = {"Q"}, OriginalDate=p(CalendarDateKey)&amp;gt;}QvsI)&lt;/SPAN&gt;&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;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Kaushik Solanki&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 18:59:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-Dates-along-with-Another-Argument/m-p/330736#M121794</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2012-05-01T18:59:05Z</dc:date>
    </item>
    <item>
      <title>Using Set Analysis Dates along with Another Argument</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-Dates-along-with-Another-Argument/m-p/330737#M121795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; When I change the expression to the above it makes all of the Quotes column zero:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/13671_Capture.JPG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 19:06:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-Dates-along-with-Another-Argument/m-p/330737#M121795</guid>
      <dc:creator />
      <dc:date>2012-05-01T19:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Using Set Analysis Dates along with Another Argument</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-Dates-along-with-Another-Argument/m-p/330738#M121796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Kaushik's response worked for me. Is it possible your dates have un-equal timestamps?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 19:23:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-Dates-along-with-Another-Argument/m-p/330738#M121796</guid>
      <dc:creator />
      <dc:date>2012-05-01T19:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using Set Analysis Dates along with Another Argument</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-Dates-along-with-Another-Argument/m-p/330739#M121797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no time stamp in the data that is being pulled into the load but I am converting the fields to date format in the load. See the attached test .qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 20:14:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-Dates-along-with-Another-Argument/m-p/330739#M121797</guid>
      <dc:creator />
      <dc:date>2012-05-01T20:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using Set Analysis Dates along with Another Argument</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-Dates-along-with-Another-Argument/m-p/330740#M121798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding this as a calculated dimension: &lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Responses.ResponseDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'MM-dd-yyyy hh:mm:ss') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It looks like your ResponseDate data does have timestamps in it. Formatting the date coming into QV does not eliminate the timestamp, it just obfuscates it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 20:31:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-Dates-along-with-Another-Argument/m-p/330740#M121798</guid>
      <dc:creator />
      <dc:date>2012-05-01T20:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using Set Analysis Dates along with Another Argument</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-Dates-along-with-Another-Argument/m-p/330741#M121799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ohh. Is there a function that will completely take that off of the ResponseDate so that it will compare correctly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 20:44:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-Dates-along-with-Another-Argument/m-p/330741#M121799</guid>
      <dc:creator />
      <dc:date>2012-05-01T20:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using Set Analysis Dates along with Another Argument</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-Dates-along-with-Another-Argument/m-p/330742#M121800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(text(OriginalDate)=text(CalendarDateKey), Count({$}QvsI), '0')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 20:46:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-Dates-along-with-Another-Argument/m-p/330742#M121800</guid>
      <dc:creator />
      <dc:date>2012-05-01T20:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using Set Analysis Dates along with Another Argument</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-Dates-along-with-Another-Argument/m-p/330743#M121801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the floor function on the integer values for the dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like this: date(floor(ResponseDate),'M/D/YYYY') as CalendarDateKey. This will set the CalendarDateKey value to be at midnight of the current day: 8/4/2011 8:16:36 to 8/4/2011 00:00:00. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 20:49:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-Dates-along-with-Another-Argument/m-p/330743#M121801</guid>
      <dc:creator />
      <dc:date>2012-05-01T20:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using Set Analysis Dates along with Another Argument</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-Dates-along-with-Another-Argument/m-p/330744#M121802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; That seems to work. Thank you for all of your timely responses!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 20:57:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-Dates-along-with-Another-Argument/m-p/330744#M121802</guid>
      <dc:creator />
      <dc:date>2012-05-01T20:57:09Z</dc:date>
    </item>
    <item>
      <title>Using Set Analysis Dates along with Another Argument</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-Dates-along-with-Another-Argument/m-p/330745#M121803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello Kaushik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Earlier you helped me with an expression. Seeking your help once more &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm creating a Historical Sales Trend using set analysis to select dates, until i had two historical dates it was ok, one bar was for the max date &amp;amp; the other for the Remaining one date. But now i've three snapshots.&lt;/P&gt;&lt;P&gt;The user wants to select 5 Snapshot dates in future. The probelm is if i use only list box for the date then the second ba wll show sum of all the remaining 4 dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i've also tried generating the 5 dates as: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SnapshotCalendarTemp1:&lt;BR /&gt;load Distinct&lt;BR /&gt; ([Snapshot Date]) as [Snapshot Date1] resident Sales; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SnapshotCalendarTemp2:&lt;BR /&gt;load Distinct&lt;BR /&gt; ([Snapshot Date]) as [Snapshot Date2]&amp;nbsp; resident Sales;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SnapshotCalendarTemp3:&lt;BR /&gt;load Distinct&lt;BR /&gt; ([Snapshot Date]) as [Snapshot Date3] resident Sales;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SnapshotCalendarTemp4:&lt;BR /&gt;load Distinct&lt;BR /&gt; ([Snapshot Date]) as [Snapshot Date4]&amp;nbsp; resident Sales;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SnapshotCalendarTemp5:&lt;BR /&gt;load Distinct&lt;BR /&gt; ([Snapshot Date]) as [Snapshot Date5]&amp;nbsp; resident Sales;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;to create 5 separate list boxes &amp;amp; then using the expressions to create the list boxes depending on the selection in the previuos list box, hiding/showing them successively.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿But its not working properly&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;PLz help&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 May 2012 14:18:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-Dates-along-with-Another-Argument/m-p/330745#M121803</guid>
      <dc:creator />
      <dc:date>2012-05-13T14:18:00Z</dc:date>
    </item>
    <item>
      <title>Using Set Analysis Dates along with Another Argument</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-Dates-along-with-Another-Argument/m-p/330746#M121804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I request you to please create a new discussion on this and also provide the same example in QVW format and describe what you want and what you are trying to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; This will help you to get faster solution as well as help others who have similar problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 May 2012 15:22:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Set-Analysis-Dates-along-with-Another-Argument/m-p/330746#M121804</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2012-05-13T15:22:31Z</dc:date>
    </item>
  </channel>
</rss>

