Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Divide function returns incorrect results

Hello Experts,   I am facing an issue while using the simple Divide fuction. Some of the rows returns correct results while some returns incorrect  results as shown in the below screenshot..  I hav...
  • jdbuchanan71's avatar
    4 years ago

    Give this a try, see if it works.

    MAP Value =
    DIVIDE (
        ROUND ( SUM ( 'Planning Dashboard'[Closing StockValue] ), 2 ),
        ROUND ( SUM ( 'Planning Dashboard'[Closing Stock] ), 2 ),
        0
    )