Forum Discussion
Anonymous
4 years agoNot applicable
Total Distinctcount on aggregate value
Hi there, I have been researching everywhere but I cannot find the same answer. Raw data: I have a table where the agent received a score based each Date. Date AgentName Score 1/05/2022 ...
- 4 years ago
Hi Anonymous
You can usePass/Fail = SUMX ( SUMMARIZE ( 'Table', 'Table'[AgentName],'Table'[Date] ), CALCULATE ( IF ( [Sum of Scores] > 25, 1 ) ) )
Whitewater100
4 years agoSolution Sage
Hi:
You can try two calculated columns and one measure. Measure at bottom.
CC#1.
Total Score = CALCULATE(SUM('Table'[Score]), ALLEXCEPT('Table','Table'[AgentName]))
CC#2
Score < 25 = IF('Table'[Total Score] <= 25, 1,0)
Score Count = CALCULATE(DISTINCTCOUNT('Table'[AgentName]),'Table'[Score < 25] = 1)
I hope this helps!