You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Conditionally run an AGG

Accepted answer
53
Views
7
Comments
edited Jun 26, 2020 1:18PM in Planning 7 comments

Content

Hi, I have a rule with an RTP of type "member".  What I'd like to do is aggregate a dimension only if the RTP value is a certain member.

In the past I've done something this to aggregate the entity dimension for the Actual scenario only if rtpScenario = Actual otherwise don't agg.  I'm wondering if there is another way so I can shorten my potential code. Possible through design time prompts (i haven't really used them)?  any other elegant way?

SET EMPTYMEMBERSETS ON;

Fix ( "Actual" And {rtpScenario})

Fix(final)

Agg(entity)

endfix

Endfix

 

 

 

 

 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!