Quantcast
Channel: SCN : Discussion List - SAP Planning and Consolidation, version for SAP NetWeaver
Viewing all articles
Browse latest Browse all 5414

BPC 10 NW Member Formula

$
0
0

Hello Experts,

 

I am on SAP BPC 10 NW environment and I have a requirement to create Account Member Formula to get the last 12 period values for SALES_TOT Account

 

My Member Formula is as Below and it works fine

 

[SALES_TOT]+([ACCOUNT].[SALES_TOT],[TIME].CURRENTMEMBER.LAG(1))+([ACCOUNT].[SALES_TOT],[TIME].CURRENTMEMBER.LAG(2))+([ACCOUNT].[SALES_TOT],[TIME].CURRENTMEMBER.LAG(3))+([ACCOUNT].[SALES_TOT],[TIME].CURRENTMEMBER.LAG(4))+([ACCOUNT].[SALES_TOT],[TIME].CURRENTMEMBER.LAG(5))+([ACCOUNT].[SALES_TOT],[TIME].CURRENTMEMBER.LAG(6))+([ACCOUNT].[SALES_TOT],[TIME].CURRENTMEMBER.LAG(7))+([ACCOUNT].[SALES_TOT],[TIME].CURRENTMEMBER.LAG(8))+([ACCOUNT].[SALES_TOT],[TIME].CURRENTMEMBER.LAG(9))+([ACCOUNT].[SALES_TOT],[TIME].CURRENTMEMBER.LAG(10))+([ACCOUNT].[SALES_TOT],[TIME].CURRENTMEMBER.LAG(11))

 

But some one suggested me that I can also use SUM MDX formula for above requirement.I wrote the below formula but it doesnt pulls any record.

I would like to use SUM formula as I have many such member formula requirement based on time lag and my formula becomes huge if I don't use it

 

SUM({[TIME].CURRENTMEMBER.LAG(0):[TIME].CURRENTMEMBER.LAG(11)},[ACCOUNT].[SALES_TOT])

 

Can anyone help me identify the issue in SUM Formula?

 

Thanks for your help

 

Regards,

Senoy


Viewing all articles
Browse latest Browse all 5414

Trending Articles