<?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>Question Re: Webi 14.2.3 Count object between 2 Dates in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/webi-14-2-3-count-object-between-2-dates/qaa-p/571479#M127495</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;
  &lt;P&gt;what are the start and end dates ?&lt;/P&gt;
  &lt;P&gt;you are comparing same object ,&lt;STRONG&gt;[Occurrence Date (Date Only)]&amp;lt;=[Occurrence Date (Date Only)] . &lt;/STRONG&gt;I think it is incorrect ,as it always be TRUE.&lt;/P&gt;
  &lt;P&gt;we should use only date object itself instead of number to compare .&lt;/P&gt;
  &lt;P&gt;Ex : [Occurrence Date (Date Only)]&amp;gt;=[-28] is incorrect .[Occurrence Date (Date Only)]&amp;gt;=relativedate([Occurrence Date (Date Only)];[-28] &lt;/P&gt;
  &lt;P&gt;Regards&lt;/P&gt;
  &lt;P&gt;Sateesh&lt;/P&gt;</description>
    <pubDate>Fri, 06 Oct 2017 02:50:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2017-10-06T02:50:20Z</dc:date>
    <item>
      <title>Webi 14.2.3 Count object between 2 Dates</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-14-2-3-count-object-between-2-dates/qaq-p/571476</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;
  &lt;P&gt;Since this morning I try to find a solution to count object between two dates.&lt;/P&gt;
  &lt;P&gt;But I can't found a solution.&lt;/P&gt;
  &lt;P&gt;To explain you I created an Excel file with my data and a result tab. But I can't attach an Excel File.&lt;/P&gt;
  &lt;P&gt;Can you help me please ?&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://answers.sap.com/storage/attachments/76513-data-example.txt"&gt;data-example.txt&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2017 17:29:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-14-2-3-count-object-between-2-dates/qaq-p/571476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-10-04T17:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: Webi 14.2.3 Count object between 2 Dates</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-14-2-3-count-object-between-2-dates/qaa-p/571477#M127493</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
  &lt;P&gt;Is start and End dates are separate columns in data ?&lt;/P&gt;
  &lt;P&gt;If yes ,below logic will work .&lt;/P&gt;
  &lt;P&gt;=Sum(If([Occurance Date]&amp;lt;=[End Date]) And (([Occurance Date]&amp;gt;=[Start Date])) Then ([Element]) ForEach([Incident]))&lt;/P&gt;
  &lt;P&gt;we can compare dates same way as in Excel !&lt;/P&gt;
  &lt;P&gt;Regards&lt;/P&gt;
  &lt;P&gt;Sateesh&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2017 15:09:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-14-2-3-count-object-between-2-dates/qaa-p/571477#M127493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-10-05T15:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Webi 14.2.3 Count object between 2 Dates</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-14-2-3-count-object-between-2-dates/qaa-p/571478#M127494</link>
      <description>&lt;P&gt;Hello Thanks a lot for your feedback, I have an issue regarding your answer&lt;/P&gt;
  &lt;P&gt;As you can see for me [End Date] in your formula =[Occurrence Date (Date Only)]&lt;/P&gt;
  &lt;P&gt;and [-28] = RelativeDate([Occurrence Date (Date Only)];-28)&lt;/P&gt;
  &lt;P&gt;=Sum(If([Occurrence Date (Date Only)]&amp;lt;=[Occurrence Date (Date Only)]And [Occurrence Date (Date Only)]&amp;gt;=[-28]) Then [NbIncident] ForEach([BT Incident]))&lt;/P&gt;
  &lt;P&gt;You think it is the reason that your formula = same value that [NbIncident]&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2017 15:50:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-14-2-3-count-object-between-2-dates/qaa-p/571478#M127494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-10-05T15:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Webi 14.2.3 Count object between 2 Dates</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-14-2-3-count-object-between-2-dates/qaa-p/571479#M127495</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
  &lt;P&gt;what are the start and end dates ?&lt;/P&gt;
  &lt;P&gt;you are comparing same object ,&lt;STRONG&gt;[Occurrence Date (Date Only)]&amp;lt;=[Occurrence Date (Date Only)] . &lt;/STRONG&gt;I think it is incorrect ,as it always be TRUE.&lt;/P&gt;
  &lt;P&gt;we should use only date object itself instead of number to compare .&lt;/P&gt;
  &lt;P&gt;Ex : [Occurrence Date (Date Only)]&amp;gt;=[-28] is incorrect .[Occurrence Date (Date Only)]&amp;gt;=relativedate([Occurrence Date (Date Only)];[-28] &lt;/P&gt;
  &lt;P&gt;Regards&lt;/P&gt;
  &lt;P&gt;Sateesh&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2017 02:50:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-14-2-3-count-object-between-2-dates/qaa-p/571479#M127495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-10-06T02:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Webi 14.2.3 Count object between 2 Dates</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-14-2-3-count-object-between-2-dates/qaa-p/571480#M127496</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;Start Date is [Occurrence Date (Date Only)]-28days&lt;/P&gt;
  &lt;P&gt;End Date is [Occurrence Date (Date Only)]&lt;/P&gt;
  &lt;P&gt;I write again my formula, But I receive only the counting Incident related only the incidents created the [Query 2].[Occurrence Date (Date Only)]&lt;/P&gt;
  &lt;P&gt;=Sum(If([Query 2].[Occurrence Date (Date Only)]&amp;lt;= [Query 2].[Occurrence Date (Date Only)] And [Query 2].[Occurrence Date (Date Only)]&amp;gt;=RelativeDate( [Query 2].[Occurrence Date (Date Only)];-28)) Then ([Nb Incident] ForEach([BT Incident])))&lt;/P&gt;
  &lt;P&gt;It is possible to arrange a meeting (10min) to explain my request in my context ?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2017 12:01:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-14-2-3-count-object-between-2-dates/qaa-p/571480#M127496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-10-06T12:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Webi 14.2.3 Count object between 2 Dates</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-14-2-3-count-object-between-2-dates/qaa-p/571481#M127497</link>
      <description>&lt;P&gt;Now its interesting ! .&lt;/P&gt;
  &lt;P&gt;are you using 2 queries ? did queries merged ? &lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2017 12:48:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-14-2-3-count-object-between-2-dates/qaa-p/571481#M127497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-10-06T12:48:38Z</dc:date>
    </item>
  </channel>
</rss>

