Forum Discussion
Anonymous
5 years agoNot applicable
Do not count duplicates DAX Formula
Hi Everyone, I am having trouble getting a calculation that works like a COUNTIF in PowerBI. If this is my database and I am looking for and end result like this In Proce...
BA_Pete
5 years agoSuper User
Hi Anonymous ,
I may be oversimplifying your scenario, but I believe a simplification of your measure should work fine:
_yourMeasure = DISTINCTCOUNT(RawData[Carrier Reference])
When you apply this using [Life Cycle Status] as a dimension it should give you what you want.
Pete
- Anonymous5 years agoNot applicable
wow....I am not sure why was i overcomplicating things, i feel dumb!!
- BA_Pete5 years agoSuper User
Not dumb - I do it ALLLL the time!
Glad it's working for you 🙂
Pete
- Anonymous5 years agoNot applicable
I know why was not working in the beginning. while testing data for example
ALBEMA2-2040596 Rejected status is getting counted and that is exactly what I DO NOT need. Does this make sense?