<?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 three year reporting in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/webi-three-year-reporting/qaa-p/836743#M272671</link>
    <description>&lt;P&gt;Hi Sven,&lt;/P&gt;&lt;P&gt;thanks for responding, I tried your suggestion but still no luck. Also my main problem is getting previous year spend.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(&lt;/STRONG&gt;&lt;STRONG&gt;[BEE Spend]&lt;/STRONG&gt;&lt;STRONG&gt;) Where([Date Variable] = [Previous Year]) &lt;/STRONG&gt;&lt;STRONG&gt;In([Supplier];[Posting Date]) &lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 10 Feb 2019 10:05:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2019-02-10T10:05:23Z</dc:date>
    <item>
      <title>Webi three year reporting</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-three-year-reporting/qaq-p/836741</link>
      <description>&lt;P&gt;I have a requirement for year on year reporting on webi 4.2 sp5.&lt;/P&gt;
  &lt;P&gt;I have a Spend key figure, Date dimension and other dimensions to slice the data.&lt;/P&gt;
  &lt;P&gt;My problem currently is extracting individual years from the date so that I can do year on year comparison.&lt;/P&gt;
  &lt;P&gt;What I need is &lt;/P&gt;
  &lt;P&gt;1. &lt;STRONG&gt;Sum(If([Posting Year]=Max(Right([Posting Date];4));[BEE Spend];0))&lt;/STRONG&gt; -- Working fine so far&lt;/P&gt;
  &lt;P&gt;2. &lt;STRONG&gt;Sum(If([Posting Year]=FormatDate(RelativeDate(ToDate(Max(Right([Posting Date];4));"yyyy");-1;YearPeriod);"yyyy");[BEE Spend];0)) In([Supplier];[Posting Date])&lt;/STRONG&gt; -- Please help this one is not working it returns #Multivalue Error.&lt;/P&gt;
  &lt;P&gt; I have created a Year variable called [Posting Year] as (Right([Posting Date];4)))&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/272651-date.png" /&gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Sat, 09 Feb 2019 10:45:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-three-year-reporting/qaq-p/836741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-02-09T10:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Webi three year reporting</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-three-year-reporting/qaa-p/836742#M272670</link>
      <description>&lt;P&gt;Hey Thato,&lt;/P&gt;&lt;P&gt;looks quit complicated. Why didn't you use a dimensional table-view over the years with &lt;STRONG&gt;FormatDate(&lt;/STRONG&gt;&lt;STRONG&gt;Right([Posting Date];4)&lt;/STRONG&gt;&lt;STRONG&gt;;"yyyy") &lt;/STRONG&gt;(put it in a variable f.e.) and just sum the key figure like: &lt;STRONG&gt;Sum(&lt;/STRONG&gt;&lt;STRONG&gt;[BEE Spend]&lt;/STRONG&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;STRONG&gt;In([Supplier];[Posting Date]) &lt;/STRONG&gt;. At the end you are able to reduce the number of years of filtering.&lt;/P&gt;&lt;P&gt;Grtz&lt;/P&gt;&lt;P&gt;Sven&lt;/P&gt;</description>
      <pubDate>Sat, 09 Feb 2019 22:27:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-three-year-reporting/qaa-p/836742#M272670</guid>
      <dc:creator>sven_oehme</dc:creator>
      <dc:date>2019-02-09T22:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Webi three year reporting</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-three-year-reporting/qaa-p/836743#M272671</link>
      <description>&lt;P&gt;Hi Sven,&lt;/P&gt;&lt;P&gt;thanks for responding, I tried your suggestion but still no luck. Also my main problem is getting previous year spend.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(&lt;/STRONG&gt;&lt;STRONG&gt;[BEE Spend]&lt;/STRONG&gt;&lt;STRONG&gt;) Where([Date Variable] = [Previous Year]) &lt;/STRONG&gt;&lt;STRONG&gt;In([Supplier];[Posting Date]) &lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Feb 2019 10:05:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-three-year-reporting/qaa-p/836743#M272671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-02-10T10:05:23Z</dc:date>
    </item>
  </channel>
</rss>

