Forum Discussion
Johan-MTM
3 years agoHelper III
Is this correct?
Hi!
I want to count "id" from the table "public borrower" but only those that are borrower_deleted=FALSE.
Number of Borrowers = calculate(DISTINCTCOUNT('public borrower'[id]),'public borrower'[borrower_deleted]=FALSE())
Thanks
Thanks
Ps Also - the language used here is called Dax or?
/johan
/johan
you are using distinctcount which will not count duplicates.
it's called DAX function.
DAX function reference - DAX | Microsoft Learn
5 Replies
- ArulSuper User
- AnonymousNot applicable
Number of Borrowers = calculate(DISTINCTCOUNT('public borrower'[id]), filter(public borrower,'public borrower'[borrower_deleted]=FALSE())
- ryan_mayuSuper User
you are using distinctcount which will not count duplicates.
it's called DAX function.
DAX function reference - DAX | Microsoft Learn