Forum Discussion
Anonymous
6 years agoNot applicable
DAX Help
Expired = CALCULATE(COUNT('Card Type'[CardType]) ,FILTER('Card Type' , IF([End Date] > 'Card Type'[GracePeriodEndDate] ,1,0))) I want 0 for rows that are not satisfying the filter condition. Wha...
- 6 years agoAnonymous
I think:
Expired =
VAR __Expired = CALCULATE(COUNT('Card Type'[CardType]) ,FILTER('Card Type' , IF([End Date] > 'Card Type'[GracePeriodEndDate] ,1,0)))
RETURN IF(ISBLANK(__Expired),0,__Expired)
Anonymous
6 years agoNot applicable