on 04-09-2018 6:42 AM
HI,
I want to create a key figure which should be avg of month which is coming in record and last month. example like .
Calmonth sales_current sales_last_month avg
-------------- --------------- ---------------- -----
06.2017 10,000.00 12,000.00 11,000.00
07.2017 15,000.00 10,000.00 12,500.00
08.2017 12,000.00 15,000.00 13,500.00
Every record is taking sales of that month + sales of last month.
we are not using variable to restric month. we hardcoded 5 year period in report.
need help in it.
Hi Naeem,
if I understood you correctly you should check the Constant Selection.
WIKI Constant Selection
And
Current Member
Regards,
Matthias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Matthias,
Thanks for the quick reply.
if you see below screenshot. Record Number 5 belongs to 10.2017 as month. and there are three key figures.
one is belong to same month10.2017 but second key figure is belong to 09.2017. one month prior to 10.2017.
on every record same logic will be apply. for "current sales" column there is no need to restrict as its coming with10.2017.
I want to know how can I restrict "last month sales" with month 09.2017.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
https://wiki.scn.sap.com/wiki/display/BI/Current+Member+Variables
maybe you have something else going oneHardcoded means. in restriction we put calmonth from 01.2013 to 12.2018.
we are not using variable for month selection.
I tried with simple key figure same error.
still trying to find out some way. seems very easy and simple. but become complicated in my scenario.
going to create new query with one kf and then I will try it.
Hi Naeem,
I recommend you to check the following WIKI page:
OT-OLAP Exception Aggregation
-> Formula Exception Aggregation (FAGGR)
Regards,
Matthias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.