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

HspNumToString Issue With Variables

edited Aug 2, 2018 2:36AM in Essbase 6 comments

Summary

HspNumToString Issue With Variables

Content

= "ACCREC"->@MEMBER(@HspNumToString(YrPrPer))->@MEMBER(@HspNumToString(PrPeriod))->"Location"->"Department"->"MgtRpt";

This statement doesn't work when the variable PrPeriod is a period number(1-12) and the same period is not in the FIX.  The period dimension outline members are Jan-Dec with aliases of 1-12 for same.   For example if the PrPeriod variable is set to 12(to get the previous period value) and Jan is the only period in the FIX, the statement above will not return a value.  The reason is that @HspNumToString won't resolve the value 12 unless Dec is in the FIX.  The problem is that Dec cannot be in the fix.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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