Quantcast
Viewing all articles
Browse latest Browse all 1545

BPC SCRIPT LOGIC TIME DIMENSION PROBLEM

Hi Experts,

 

I'm on BPC 10 MS SP13, with EPM-ADD SP18

 

 

I've a problem with script logic: I need a data region with two periods : Period Selected from prompt and Same Period Last Year.respect to selected period.

 

I try to use %YEAR%(-1) or %PERIOD%(-12) but in time dimension I have other elements , see below images.

 

Image may be NSFW.
Clik here to view.
time_dimension.png

 

I try with this syntax:

 

*SELECT (%PREV_YEAR%,"PY",TIME,[ID]='%TIME_SET%')

*SELECT (%MONTH%,"[PERIOD]","TIME","[ID]='%TIME_SET')

 

*XDIM_MEMBERSET TIME=%PREV_YEAR%.%MONTH%,%TIME_SET%

 

When I check log i found that %PREV_YEAR% and %MONTH% are empty. Data in fact table are filtered only for %TIME_SET% .

 

If I substitute %TIME_SET% with fixed values (Ex: 2014.AUG )  %PREV_YEAR% and %MONTH% are populated correctly.

 

 

 

Any help appreciated

 

Thanks

 

Samuele


Viewing all articles
Browse latest Browse all 1545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>