Forum Discussion
ivancornejo_
8 years agoFrequent Visitor
Count blank in matrix
Hi, I have this matrix -> I need count the blank spaces in a new column or use a measure. I tried a lot of possibles solutions from the forum, but a can't get a solution Help, please ...
SteveCampbell
Memorable Member
8 years agoYou can use a measure:
Blank Count =
CALCULATE(COUNTBLANK(Daily Stock[Units])
,ALL(Daily Stock[Size])
)
This will count all blanks in all sizes
- ivancornejo_8 years agoFrequent Visitor
- SteveCampbell8 years ago
Memorable Member
I am wondering if your values are truely blank. What do blank values appear as in the table?
Can you try the measure:
Contador := CALCULATE( COUNTROWS('Daily Stock') ,NOT('Daily Stock'[Units]>0) ,ALL('Daily Stock'[Size]))- ivancornejo_8 years agoFrequent Visitor
Thanks again, SteveCampbell, but I still get the same result with this other formula
The values in blank show an article without units for a size.