Forum Discussion
Anonymous
8 years agoNot applicable
What's wrong with this formula?
Hi, I just wanted to check what is wrong with this formula? Closed with Task = OR(CALCULATE(DISTINCTCOUNT(Task[Job ID (Task) ]),'Task'[Job.Status__c]="Closed"), CALCULATE(DISTINCTCOUNT(Task[Job ...
- 8 years ago
Ah, got ya.
I believe this will work:
DistinctCount.Open.PaymentEntry = CALCULATE( DISTINCTCOUNT( Task2[Job_ID] ), FILTER( Task2 , Task2[Job_Status] = "Closed" || Task2[Job_Status] = "Payment Entry") )
Anonymous
8 years agoNot applicable
Hey,
It would work only if all tasks had unique job id. Because there are jobs with mulitple taks I have to use distinct count.
It would work only if all tasks had unique job id. Because there are jobs with mulitple taks I have to use distinct count.
v-huizhn-msft
Microsoft Employee
8 years agoHi Anonymous,
The formula GabrielSantos posted is right. Please try it and mark the right reply as answer if you have resolved your issue.
Best Regards,
Angelia