IF @ISMBR不更新FebDays变量

时间:2019-05-15 13:57:28

标签: essbase

Essbase在leap年期间无法正确更新February NumberDays。相反,它是每2月29天而不是28天分配。

语法更改,研究,手动计算以验证

/* Essbase Calc Script */

VAR 
    JanDays = 31, FebDays = 28, MarDays = 31, AprDays = 30, MayDays = 31, JunDays = 30, JulDays = 31, AugDays = 31, SepDays = 30, OctDays = 31, NovDays = 30, DecDays = 31 ;

/* Script starts with fixes, then moves on to the average calc portion */
        IF (@ISMBR("FY20")
            FebDays = 29;)
        ENDIF 

不是2月20日财政年度的预期年份有28天,而是2月所有年份都有29天

0 个答案:

没有答案