Forum Discussion

marri's avatar
marri
Frequent Visitor
8 years ago
Solved

Measure displaying blank value

Hi,   I have a measure which displays blank value instead of 0. My problem scenario is like this. Ihave different tables with relations, in which one table acts like fact table and all other tabl...
  • parry2k's avatar
    parry2k
    8 years ago

    here is link to another post in which I provided the solution to show "NA" if measure is blank, you can use the approach to show 0.

  • Ashish_Mathur's avatar
    8 years ago

    Hi,

     

    Try this

     

    =IF(ISBLANK(CALCULATE(COUNT('Item'[ID]), FILTER(STATUS,status[Status Code]="open"))),0,CALCULATE(COUNT('Item'[ID]), FILTER(STATUS,status[Status Code]="open")))

     

    Does this work?