Why list of members of the period cannot be used in the rule file to limit the period?

Hello

HFM, I created a list of members period in the members list file.

for example:

Dim aPeriodLists (9)

If HS. Dimension = 'Period' Then

aPeriodLists (1) = "[FcstActMths]".

......

......

===========================

ElseIf HS. Dimension = 'Period' Then

If HS. MemberListID = 1 Then

HS. AddMembertoList "January".

HS. AddMembertoList "February".

===========================

then in the rules file, I created a rule ondemand for datacopy real forecasts, but want to copy for the period of the membership list [FcstActMths].

so as a rule I tried below:

......

For each povPeriod in Hs.Period.List("","[FcstActMths]")

.......

but it does not work, the error indicates:

object does not support this property or method HS. Period.List.

=====================================================================================================================

Then I found that, for the function of list of the object are not period dimension.

But what I want is efficiency above.

Is there another way could do?

=====================================================================================================================

I also tried to create the array, like this:

Dim FcstActMths

FcstActMths = Array ("January", "February")

..........................

For each povPeriod in FcstActMths

.........................

=====================================================================================================================

has not worked either, during the race, the table cannot limit in time that we select...

Hello

The reason why the rules does not run is because you canmot run rules

for each period of your table, but only for the month that is on your

Current POV.

On this basis, you must change your rules and write something similar to:

Table = (month1, Month2,... monthX)

If instr (table, current month) > 0 then

Run rules

End if

I'm sure it will work.

See you soon,.

Thanos

November 24, 2015 07:45, "community-admin" [email protected]>

Tags: Business Intelligence

Similar Questions

Maybe you are looking for