Forum Discussion
gspollock
3 years agoHelper I
Error caused by nonexistent column
I have these measures in the mbammsreportshare table: Quarterly Shares = COUNTROWS('mbammsreportshare') Meets Quarterly Share Goal = calculate(IF( [Quarterly Shares] >1,1,0)) Count of Acct Mgrs =...
- Anonymous3 years ago
Hi gspollock ,
Please try below dax formula:
Count of Acct Mgrs = VAR numshares = CALCULATE ( DISTINCTCOUNT ( mbammsreportshare[acct_mgr_name] ), FILTER ( ALL ( mbammsreportshare ), [Meets Quarterly Share Goal] = 1 ) ) RETURN numsharesBest regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
3 years agoNot applicable
Hi gspollock ,
Please try below dax formula:
Count of Acct Mgrs =
VAR numshares =
CALCULATE (
DISTINCTCOUNT ( mbammsreportshare[acct_mgr_name] ),
FILTER ( ALL ( mbammsreportshare ), [Meets Quarterly Share Goal] = 1 )
)
RETURN
numshares
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.