Forum Discussion
fereshtehaghaei
1 year agoHelper II
Matrix Table Total Row and Total Column
I have the following formula that is currently looking at values in current count and subtract preveious counts and if there are any previous grads then it needs to be counted as positive so it's bei...
- 1 year ago
Hi fereshtehaghaei,
Please try this DAX measure:Attrition_Final = VAR _Matriculated = HASONEFILTER(ContactN[Matriculated Start Term]) VAR _TermLabel = HASONEFILTER('Term OrdinalN'[Term Label]) VAR _Result = IF( _Matriculated = FALSE() || _TermLabel = FALSE(), SUMX( CROSSJOIN( ALLSELECTED(ContactN[Matriculated Start Term]), ALLSELECTED('Term OrdinalN'[Term Ordinal]) ), [Attriction] ), [Attriction] ) RETURN _ResultI hope this could help you.
suparnababu8
1 year agoSuper User
Hi fereshtehaghaei
Adjust you Attrition measure with below and try once.
Attrition =
IF (
ISINSCOPE('TermOrdinaIN'[Term Label]),
IF (
ISBLANK([ActiveLastPer]),
BLANK(),
[Active Count] - [ActiveLastPer] + [GRADLastPer]
),
SUMX(
SUMMARIZE(
'TermOrdinaIN',
'TermOrdinaIN'[Term Label],
"AttritionValue", [Active Count] - [ActiveLastPer] + [GRADLastPer]
),
[AttritionValue]
)
)Let me know if it works.