Hi All,
I measure column below in a table-
IF(ISBLANK(CALCULATE(DISTINCTCOUNT(VW_PRS_LCS_Activity[LCSACT_ActID]),FILTER(VW_PRS_LCS_Activity,(VW_PRS_LCS_Activity[LCSACT_ActName] <> "Development Work" && VW_PRS_LCS_Activity[LCSACT_ActPastDue]>0)))),0,CALCULATE(DISTINCTCOUNT(VW_PRS_LCS_Activity[LCSACT_ActID]),FILTER(VW_PRS_LCS_Activity,(VW_PRS_LCS_Activity[LCSACT_ActName] <> "Development Work" && VW_PRS_LCS_Activity[LCSACT_ActPastDue]>0))))
The details row in the table gives the correct result while Total is not returining the correct value? Please suggest the way so that total returns the correct value.