Forum Discussion
Do not count duplicates DAX Formula
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
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?
- BA_Pete5 years agoSuper User
Not sure.
Do you mean that as soon as ANY [Carrier Reference] is rejected, you don't want any more to be counted?
...or do you mean that you want all others to be counted but not ALBEMA2-2040596 specifically?
...or do you mean it works just fine now, but you found why is wasn't working for you originally?
Pete