cancel
Showing results for 
Search instead for 
Did you mean: 

SAP BEx Current Month vs Previous Month

Former Member
0 Kudos

Hello Dear Guru's

I'm having some troubles into using the right variable or method for me to accomplish the next:

0CALMONTH          Value          Value -1 Month

...

2014/05                    100

2014/06                    150               100

2014/07                    200               150

2014/08                    150               200

2014/09                    200               150

2014/010                  210               200

2014/011                  150               210

2014/012                  100               150

2015/01                    99                 100

2015/02                    300               99

2015/03                    310               300

2015/04                    300               310


We've been trying to use a Restricted keyfigure with 0CALMONTH as a Characteristic being filtered by various types of variables with no success.


Perhaps we're doing something wrong in the concept.


Anny suggestions might be very useful,


Thank you

Accepted Solutions (1)

Accepted Solutions (1)

FCI
Active Contributor
0 Kudos

Hmm, doesn't seem so easy for me at query level before the 740 (because calmonth is displayed, filters or RKF won't work).

This can easily be done through data staging (with a new KF = value of the month -1) or less easily  through a virtual KF (not so sure for this one).

In 740, the variable type current member can be used to achieve this:

See Current Member Variables - SAP NetWeaver Business Warehouse - SCN Wiki

Regards,

Frederic

Former Member
0 Kudos

!Thank you Frédéric!

This seems like the perfect answer

I just wonder if this could be installed as an Ad-On or does this get included as part of Upgrading.

Right now We're on 7.31 SP14 and not in plans for upgrading in the near future.

Than you guys for all your helpfull ideas and posts!

Answers (4)

Answers (4)

former_member183519
Contributor
0 Kudos

Hello

refer link:

it refers how to use variable with offset.

Regards,

Hitesh

Former Member
0 Kudos

Hi Fedrico,

Try to create New selection on your first Key Figure and use Offset ' -1 ' in your 0CALMONTH Variable for your Second Key figure column.

Former Member
0 Kudos

Hi,

you are comparing cal month against value (current month) and value(previous month) which is not correct.

you can compare a date against  value (CM) and value (PM) .. (or) compare month against current year and previous year .

what is your requirement?

former_member586947
Contributor
0 Kudos

Hi Fedrico,

    Can you explain the issues/sample report lay out.

Regards,

Satya.