<?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: Getting records as per currect selection date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614951#M226889</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;You are talking about&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;modifications.&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Please&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;share&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the application you want&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to modify...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Darek&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Apr 2014 07:35:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-04-24T07:35:34Z</dc:date>
    <item>
      <title>Getting records as per currect selection date</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614950#M226888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two fields in my database Updatedon date&amp;nbsp; and invoice date.&lt;/P&gt;&lt;P&gt;First of all I need to count record as per&amp;nbsp; updatedon date and if updatedon date not exists records as per count invoice date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I want to count all records in retail for respective month and year based on current selection month and year,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Can you please suggest at code level&amp;nbsp; what modifications are required for this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 07:17:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614950#M226888</guid>
      <dc:creator>deepakqlikview_123</dc:creator>
      <dc:date>2014-04-24T07:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Getting records as per currect selection date</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614951#M226889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;You are talking about&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;modifications.&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Please&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;share&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the application you want&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to modify...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Darek&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 07:35:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614951#M226889</guid>
      <dc:creator />
      <dc:date>2014-04-24T07:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Getting records as per currect selection date</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614952#M226890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dariusz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As application is too huge not able to share.&lt;/P&gt;&lt;P&gt;Can you please suggest how to count record in above mentioned case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 07:38:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614952#M226890</guid>
      <dc:creator>deepakqlikview_123</dc:creator>
      <dc:date>2014-04-24T07:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Getting records as per currect selection date</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614953#M226891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is difficult for me to answer your question if i cant see application, data model etc.&lt;/P&gt;&lt;P&gt;I uderstand, that in your qlikview table you have those data fields. &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Having regard to the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;selection of&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the user&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;you want to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;count the number of&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;records in which&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;at least&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;one&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;of these dates&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;there&lt;/SPAN&gt;? &lt;SPAN class="hps"&gt;or maybe&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;you want to count&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;records&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;with a specific&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;first date&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;as a first indicator&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;records that do not&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;have a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;first date&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;but they have&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;other as&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;yet another&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;indicator&lt;/SPAN&gt;? &lt;BR /&gt;&lt;SPAN class="hps"&gt;Please describe&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in more detail&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;at least&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;your expectations.&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;And the best&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Annex&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;section&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;of&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the application or &lt;/SPAN&gt;.x&lt;SPAN class="hps"&gt;ls with sample&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;data&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;or&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;anything that&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;will&lt;/SPAN&gt; allow &lt;SPAN class="hps"&gt;clearly&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;read&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;your needs&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;...&lt;/SPAN&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;regards&lt;BR /&gt;&lt;SPAN class="hps"&gt;Darek&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 07:49:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614953#M226891</guid>
      <dc:creator />
      <dc:date>2014-04-24T07:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Getting records as per currect selection date</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614954#M226892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dariusz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to count first updatedon date and when updated on date is null then count as per invoice date.&lt;/P&gt;&lt;P&gt;Moreover there is also a flag field while counting I have to count all fields where IsCancelled flag='0'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 08:32:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614954#M226892</guid>
      <dc:creator>deepakqlikview_123</dc:creator>
      <dc:date>2014-04-24T08:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Getting records as per currect selection date</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614955#M226893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And you have those fields in the same table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 08:46:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614955#M226893</guid>
      <dc:creator />
      <dc:date>2014-04-24T08:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Getting records as per currect selection date</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614956#M226894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I have same fields in same table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 08:47:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614956#M226894</guid>
      <dc:creator>deepakqlikview_123</dc:creator>
      <dc:date>2014-04-24T08:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Getting records as per currect selection date</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614957#M226895</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;When I read your discussion, I understand that you want to count Updated_On_Date &lt;/P&gt;&lt;P&gt;if it is null then you are counting invoice date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;Create a flag field in your script as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(isnull(Updated_On_Date),'true','false') as updated_On_Date_Flag;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then In your chart write set analysis.&lt;/P&gt;&lt;P&gt;Like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(updated_On_Date_Flag="true",count({&amp;lt;updated_On_Date_Flag={"true"}&amp;gt;}Updated_On_Date),count(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;invoice_date&lt;/SPAN&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 08:48:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614957#M226895</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-04-24T08:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Getting records as per currect selection date</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614958#M226896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have both dates in the same table you may create additional field calculated from those dates during reload.&lt;/P&gt;&lt;P&gt;Simple:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(isnull(UpdatedonDate), InvoiceDate, UpdatedonDate) as CountDate,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then you will count on this CountDate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may also do similiar thing on the fly, using calculated dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About IsCancelled flag='0' - use set analysis...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;IsCancelled={0}&amp;gt;}value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 08:52:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614958#M226896</guid>
      <dc:creator />
      <dc:date>2014-04-24T08:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Getting records as per currect selection date</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614959#M226897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dariusz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you pleasetell me what would be final expression I am still getting error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 08:59:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614959#M226897</guid>
      <dc:creator>deepakqlikview_123</dc:creator>
      <dc:date>2014-04-24T08:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Getting records as per currect selection date</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614960#M226898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is why it is difficult to help when i cant do it in your sample application &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Having it, i can even do it for you. But if i have not it, i can only give you idea, how to do that ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 09:03:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614960#M226898</guid>
      <dc:creator />
      <dc:date>2014-04-24T09:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Getting records as per currect selection date</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614961#M226899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If value for &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;updatedon date&lt;/SPAN&gt; is '-' not null then how to proceed&amp;nbsp; below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I count first updatedon date and when updated on date is '-' then count as per invoice date.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Moreover there is also a flag field while counting I have to count all fields where IsCancelled flag='0'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 10:31:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614961#M226899</guid>
      <dc:creator>deepakqlikview_123</dc:creator>
      <dc:date>2014-04-24T10:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Getting records as per currect selection date</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614962#M226900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If value for &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;updatedon date&lt;/SPAN&gt; is '-' not null then how to proceed&amp;nbsp; below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I count first updatedon date and when updated on date is '-' then count as per invoice date.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Moreover there is also a flag field while counting I have to count all fields where IsCancelled flag='0'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 10:48:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614962#M226900</guid>
      <dc:creator>deepakqlikview_123</dc:creator>
      <dc:date>2014-04-24T10:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: Getting records as per currect selection date</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614963#M226901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If value for &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;updatedon date&lt;/SPAN&gt; is '-' not null then how to proceed&amp;nbsp; below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I count first updatedon date and when updated on date is '-' then count as per invoice date.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Moreover there is also a flag field while counting I have to count all fields where IsCancelled flag='0'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 10:49:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614963#M226901</guid>
      <dc:creator>deepakqlikview_123</dc:creator>
      <dc:date>2014-04-24T10:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Getting records as per currect selection date</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614964#M226902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;Create a flag field in your script as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(isnull(Updated_On_Date) OR Updated_On_Date='-','true','false') as updated_On_Date_Flag;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then In your chart write set analysis.&lt;/P&gt;&lt;P&gt;Like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(updated_On_Date_Flag="true",count({&amp;lt;updated_On_Date_Flag={"true"}&amp;gt;}Updated_On_Date),count(&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;invoice_date&lt;/SPAN&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;credit max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 10:52:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614964#M226902</guid>
      <dc:creator />
      <dc:date>2014-04-24T10:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Getting records as per currect selection date</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614965#M226903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please correct me if I am wrong,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if(isnull(UpdatedonDate), InvoiceDate, UpdatedonDate) as CountDate,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;for counting countDate in same expression is it correct&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;"&gt;count(if(isnull(UpdatedonDate), InvoiceDate, UpdatedonDate)&amp;nbsp; CountDate) as count,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 12:01:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614965#M226903</guid>
      <dc:creator>deepakqlikview_123</dc:creator>
      <dc:date>2014-04-24T12:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Getting records as per currect selection date</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614966#M226904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You appear to be missing the OR statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 12:04:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614966#M226904</guid>
      <dc:creator />
      <dc:date>2014-04-24T12:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: Getting records as per currect selection date</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614967#M226905</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;Try this,&lt;/P&gt;&lt;P&gt;In above solution, there i need to do some change like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will help you.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if(isnull(Updated_On_Date) OR &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Updated_On_Date&lt;/SPAN&gt;='-' ,'true','false') as updated_On_Date_Flag;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;then your set analysis is like,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if(updated_On_Date_Flag="false" and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;IsCancelled_flag='0'&lt;/SPAN&gt; ,count({&amp;lt;updated_On_Date_Flag={"false"}&amp;gt;}Updated_On_Date),count(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;invoice_date&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 12:50:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-records-as-per-currect-selection-date/m-p/614967#M226905</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-04-24T12:50:07Z</dc:date>
    </item>
  </channel>
</rss>

