Forum Discussion
Anonymous
7 years agoNot applicable
DISTINCTCOUNTNOBLANK
Hi, I have following data - And following measures - CategoryCount = DISTINCTCOUNT(Category_Sales[Category]) CategoryCountNoBlank = DISTINCTCOUNTNOBLANK(Category_...
- 7 years ago
Anonymous -
I do not know the reason why however, you could filter out the blanks by:
Measure = CALCULATE( DISTINCTCOUNT(Category_Sales[Category]), FILTER( Category_Sales, Category_Sales[Category] <> BLANK() ) )returns 3.
ChrisMendoza
7 years agoResident Rockstar
Anonymous -
I do not know the reason why however, you could filter out the blanks by:
Measure =
CALCULATE(
DISTINCTCOUNT(Category_Sales[Category]),
FILTER(
Category_Sales,
Category_Sales[Category] <> BLANK()
)
)returns 3.