cancel
Showing results for 
Search instead for 
Did you mean: 

BPC Script Logic: Identifying last loop pass in FOR NEXT loop

Former Member
0 Kudos

Hi BPC experts,

I have a question, how is it for me to read / identify the last loop pass for a FOR NEXT loop?

Let's say I have 2012.01, 2012.02, 2012.03 in a %MON%.

I just want to only use 2012.01 and 2012.02 only and skip 2012.03.

The scope is *XDIM_MEMBERSET TIME AS %MON% = BAS(%TIME_SET%)

How is this possible?

OR

Remove the last member from %MON%? Is this possible?

Thanks!

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member186338
Active Contributor
0 Kudos

Hi,

The question is how you get three members in %MON%.  Please, provide the FULL script to understand the issue.

B.R. Vadim

Former Member
0 Kudos

Hi,

You need to have some identifier for the member to be omitted. Based on this identifier, you can do the scoping so that those members are not scoped for which the identifier is satisfied.

Hope this helps.