OS_Love
5 months agoNew Contributor III
Dynamic Calc Rule
Hi All
In the below example value is displayed on every single combination of UDs. This should only be calculated and written to each UD7 separately but calculated on Tops and displayed only on “NotDefined” for all other UDs.
For any other POV combination- the result returned should be zero.
Can we do something like this?
Dim Tops_NoUD7 As String = ":O#Top:I#Top:F#Top:U1#Top:U2#Top:U3#Top:U4#Top:U5#Top:U6#Top:U8#Top"
Dim dEbit As Decimal = api.Data.GetDataCell("A#EBIT" & Tops_NoUD7).CellAmount
Dim dSalesProd As Decimal = api.Data.GetDataCell("A#SALESPROD" & Tops_NoUD7).CellAmount
Dim sEbitProd As Decimal = (dEbit/dSalesProd)*100
Return sEbitProd