Forum Discussion

PhineasT's avatar
PhineasT
Icon for Helper I rankHelper I
3 years ago
Solved

Replace Blank Values and Empty Visuals

I want to display a '0' in the top box (circle that reads "Blank"), if the is no associated data to calculate and the phrase 'No data available' in the low box (circle). Is this possible?   ...
  • tamerj1's avatar
    tamerj1
    3 years ago

    Hi PhineasT 

    please try this measure 

    Count =
    DISTINCTCOUNT ( ByProjectActivityTbl[ProjectActivity] ) + 0

     

    you try with COUNTA instead of DISTINCTCOUNT depending on your requirement