Forum Discussion

benmac360's avatar
benmac360
New Contributor III
2 years ago

UD8 Dynamic Calc - Show Zeroes in Cube View column based on time period comparison

Hello - I created a dynamic UD8 calc for a cube view that shows 12 months of actual, forecast and budget periodic amounts. The calc is designed to show zeroes in the actual scenario column for a peri...
  • Henning's avatar
    2 years ago

    Hi, the best approach is to debug it by writing your variables into the error log. I would start with gbTime and pvTime and see whether the results matches with what your are expecting. Usually you will see the issue pretty quickly. Best to only use a CV with a single cell so that you know which cell your message refers to and do not fill the error log with unnecessary messages.

    You can use the functions api.LogMessage() or BRApi.ErrorLog.LogMessage() to write into the error log.