vpidala
7 months agoNew Contributor II
Value was either too large or too small for a Decimal.
Dear Team, while opening the cube view, I am experiencing issue " Value was either too large or too small for a Decimal."
I can see that in BR for EndBal, one of the divided formula causing the issue I am thinking. I am trying to add the divide function, but it is not working. any suggestions on the new formula?
0 Kudos
Existing furmula:
Return api.Data.GetDataCell("VariancePercent(A#AVG_Daily_Sales:T#POV:U8#None,A#AVG_Daily_Sales:T#POVPrior12:S#Actual:U8#None)/100")
New furmula:
Return api.Data.GetDataCell("(VariancePercent(Divide(A#AVG_Daily_Sales:T#POV:U8#None,A#AVG_Daily_Sales:T#POVPrior12:S#Actual:U8#None)),100)")