Forum Discussion
Anonymous
3 years agoNot applicable
Filter calculate table / summarize by aggregate function column
Hello, I created a table using CALCULATETABLE and SUMMARIZE, trying to count the number of people who answered my question more then once, but my code is not working: Test Doubled hcps = var D...
- Anonymous3 years ago
Here is the answer:
Test Doubled hcps = COUNTROWS(FILTER(CALCULATETABLE(SUMMARIZE('Calls Analsis','Calls Analsis'[sm_id],'Calls Analsis'[QuestionID],"Total Answers",COUNTA('Calls Analsis'[Answer] ))),'Calls Analsis'[QuestionID]="i204" && [Total Answers]>1 ))
Anonymous
3 years agoNot applicable
Here is the answer:
Test Doubled hcps = COUNTROWS(
FILTER(CALCULATETABLE(SUMMARIZE(
'Calls Analsis',
'Calls Analsis'[sm_id],
'Calls Analsis'[QuestionID],
"Total Answers",COUNTA('Calls Analsis'[Answer] )
)),'Calls Analsis'[QuestionID]="i204" && [Total Answers]>1 ))
FreemanZ
3 years agoSuper User
struggled and figured it out by oneslef would be the best.