Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Replacing (Blanks) with 0

Dear All,   For a production report I'm presenting production numbers based on hours. In some situations the machine did not produce any parts so there is no value for that hour.   Is there a fu...
  • Anonymous's avatar
    Anonymous
    7 years ago

    The solution didn't work.
    I did solve it by creating a new measure:

     

    HourlyCount = var HourlyCounter = CALCULATE(SUM(CounterTable[Value]))
    return IF(ISBLANK(HourlyCounter), 0, HourlyCounter)