Forum Discussion

elopez's avatar
elopez
Icon for Helper I rankHelper I
6 years ago

Replacing blank fields in a matrix table with 0's

I have tried several way to replace the blank boxes with 0's in my matrix table and nothing works. The matrix table shows counts of the field 'Faculty Rank' and some counts are blank since there are 0 records. I want to replace those blank fields with 0. Here are the 3 ways i tried already:

1) adding +0

2) creating a new measure within my table: 

Measure =
IF(ISBLANK(COUNT('FT-cal-acad-faculty only'[Faculty Rank])),0,COUNT('FT-cal-acad-faculty only'[Faculty Rank]))
3) creating a new table and measure (when using this i cannot relate the tables though so that's the first problem):
new table: 
DISTINCT('FT-cal-acad-faculty only'[Faculty Rank])
new measure: 
IF(ISBLANK(COUNT('FT-cal-acad-faculty only'[Faculty Rank])),0,COUNT('FT-cal-acad-faculty only'[Faculty Rank]))
 
Although all of these pass, the 0 is never displayed. They all display the same thing (as if I  had done nothing, they all just appear as the original count shows up in the matrix)

3 Replies