<?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: Creating Calculations between two dates in SAP Analytics Cloud in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/creating-calculations-between-two-dates-in-sap-analytics-cloud/qaa-p/739304#M208126</link>
    <description>&lt;P&gt;Good Morning.&lt;/P&gt;&lt;P&gt;I need to subtract two columns from the same KPI, from different years, and have the calculation persist when new years exist.&lt;/P&gt;&lt;P&gt;                | 2020 | 2021 | total&lt;/P&gt;&lt;P&gt;-------------|----------|----------|---------&lt;/P&gt;&lt;P&gt;Sales | 235k | 200k | 35k&lt;/P&gt;&lt;P&gt;When the sales for the year 2022 come in, you want the calculation to remain.&lt;/P&gt;&lt;P&gt;How can I do?&lt;/P&gt;&lt;P&gt;  Thank you!!&lt;/P&gt;&lt;P&gt;Erick&lt;/P&gt;</description>
    <pubDate>Fri, 23 Dec 2022 21:17:11 GMT</pubDate>
    <dc:creator>former_member834587</dc:creator>
    <dc:date>2022-12-23T21:17:11Z</dc:date>
    <item>
      <title>Creating Calculations between two dates in SAP Analytics Cloud</title>
      <link>https://community.sap.com/t5/technology-q-a/creating-calculations-between-two-dates-in-sap-analytics-cloud/qaq-p/739298</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;I am attempting to create calculations between two dates in SAC. SAC only allows one date dimension in the model so I am not able to compare the multiple dates and create calculations between the dates, without making direct modifications to the data set. It seems like we can't create calculations between dates in two seperate linked models either. If anyone knows how to create calculations between two dates in SAC, please share your knowledge.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Sep 2018 20:33:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/creating-calculations-between-two-dates-in-sap-analytics-cloud/qaq-p/739298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-09-24T20:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Calculations between two dates in SAP Analytics Cloud</title>
      <link>https://community.sap.com/t5/technology-q-a/creating-calculations-between-two-dates-in-sap-analytics-cloud/qaa-p/739299#M208121</link>
      <description>&lt;P&gt;in the latest release they speak of datediff formula &lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://www.sapanalytics.cloud/product_updates/release-2018-16/"&gt;https://www.sapanalytics.cloud/product_updates/release-2018-16/&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 13:45:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/creating-calculations-between-two-dates-in-sap-analytics-cloud/qaa-p/739299#M208121</guid>
      <dc:creator>kohesco</dc:creator>
      <dc:date>2018-09-26T13:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Calculations between two dates in SAP Analytics Cloud</title>
      <link>https://community.sap.com/t5/technology-q-a/creating-calculations-between-two-dates-in-sap-analytics-cloud/qaa-p/739300#M208122</link>
      <description>&lt;P&gt;but the datediff function won't work, as you can only import 1 dimension as a date&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 15:30:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/creating-calculations-between-two-dates-in-sap-analytics-cloud/qaa-p/739300#M208122</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-09-27T15:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Calculations between two dates in SAP Analytics Cloud</title>
      <link>https://community.sap.com/t5/technology-q-a/creating-calculations-between-two-dates-in-sap-analytics-cloud/qaa-p/739301#M208123</link>
      <description>&lt;P&gt;try and look at this post - my reply&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.sap.com/questions/569331/i-want-to-calculate-seniority-using-hire-date-and.html"&gt;https://answers.sap.com/questions/569331/i-want-to-calculate-seniority-using-hire-date-and.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 22:43:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/creating-calculations-between-two-dates-in-sap-analytics-cloud/qaa-p/739301#M208123</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-12-11T22:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Calculations between two dates in SAP Analytics Cloud</title>
      <link>https://community.sap.com/t5/technology-q-a/creating-calculations-between-two-dates-in-sap-analytics-cloud/qaa-p/739302#M208124</link>
      <description>&lt;P&gt;Hi,  This changed in a recent release. You can now have multiple dates in a model.&lt;/P&gt;&lt;P&gt;I have been using this with SuccessFactors data.  The old solution was to split the date into Month/Day/Year and then use the year columns to calculate the date difference.&lt;/P&gt;&lt;P&gt;New issue since you can have multiple dates is how to type a specific date into a formula, no format seems to work.  If you figure this out I would be super happy to hear.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 09:49:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/creating-calculations-between-two-dates-in-sap-analytics-cloud/qaa-p/739302#M208124</guid>
      <dc:creator>former_member104313</dc:creator>
      <dc:date>2019-03-21T09:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Calculations between two dates in SAP Analytics Cloud</title>
      <link>https://community.sap.com/t5/technology-q-a/creating-calculations-between-two-dates-in-sap-analytics-cloud/qaa-p/739303#M208125</link>
      <description>&lt;P&gt;Hi Jessica&lt;/P&gt;&lt;P&gt;if you have two dates in the data prep phase you can create a calculated column with this formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATEDIFF([Date1],[Date2],"Day")&lt;/P&gt;&lt;P&gt;If it's not a date you can look in my previous answer (there is a hyperlink) &lt;/P&gt;&lt;P&gt;The last part in the DATEDIFF formula can be replaced with "Month" or "Year"&lt;/P&gt;&lt;P&gt;Hopefully this will help a bit&lt;/P&gt;&lt;P&gt;/René&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 17:54:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/creating-calculations-between-two-dates-in-sap-analytics-cloud/qaa-p/739303#M208125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-03-21T17:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Calculations between two dates in SAP Analytics Cloud</title>
      <link>https://community.sap.com/t5/technology-q-a/creating-calculations-between-two-dates-in-sap-analytics-cloud/qaa-p/739304#M208126</link>
      <description>&lt;P&gt;Good Morning.&lt;/P&gt;&lt;P&gt;I need to subtract two columns from the same KPI, from different years, and have the calculation persist when new years exist.&lt;/P&gt;&lt;P&gt;                | 2020 | 2021 | total&lt;/P&gt;&lt;P&gt;-------------|----------|----------|---------&lt;/P&gt;&lt;P&gt;Sales | 235k | 200k | 35k&lt;/P&gt;&lt;P&gt;When the sales for the year 2022 come in, you want the calculation to remain.&lt;/P&gt;&lt;P&gt;How can I do?&lt;/P&gt;&lt;P&gt;  Thank you!!&lt;/P&gt;&lt;P&gt;Erick&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 21:17:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/creating-calculations-between-two-dates-in-sap-analytics-cloud/qaa-p/739304#M208126</guid>
      <dc:creator>former_member834587</dc:creator>
      <dc:date>2022-12-23T21:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Calculations between two dates in SAP Analytics Cloud</title>
      <link>https://community.sap.com/t5/technology-q-a/creating-calculations-between-two-dates-in-sap-analytics-cloud/qaa-p/739305#M208127</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;please go through to the link , I think it will be helpful for you .&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2020/10/31/date-calculations-in-sap-analytics-cloud-using-custom-date/" target="test_blank"&gt;https://blogs.sap.com/2020/10/31/date-calculations-in-sap-analytics-cloud-using-custom-date/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 05:20:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/creating-calculations-between-two-dates-in-sap-analytics-cloud/qaa-p/739305#M208127</guid>
      <dc:creator>Subhasmit</dc:creator>
      <dc:date>2023-03-27T05:20:26Z</dc:date>
    </item>
  </channel>
</rss>

