Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello All,
I'm having some trouble with creating a DAX measure that calculates a distinct count of associates that have used a specific termination reason more than once. Anyone have any ideas how I would do this? I would greatly appreciate some help!
Thanks,
Solved! Go to Solution.
Hi @nleuck_101
Assume your data is similar to the following table, you can try this measure.
Measure =
var _tbl = SUMMARIZE('Table','Table'[ID],"count of reason b",COUNTROWS(FILTER('Table','Table'[Reason]="b")))
return
COUNTROWS(FILTER(_tbl,[count of reason b]>1))
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
@v-jingzhang
Your measure does work but if I need to selected a month to filter by, the value goes Blank. I decided to create what I needed in SQL and that worked for me. Thanks for your reply!
@v-jingzhang
Your measure does work but if I need to selected a month to filter by, the value goes Blank. I decided to create what I needed in SQL and that worked for me. Thanks for your reply!
Hi @nleuck_101
Assume your data is similar to the following table, you can try this measure.
Measure =
var _tbl = SUMMARIZE('Table','Table'[ID],"count of reason b",COUNTROWS(FILTER('Table','Table'[Reason]="b")))
return
COUNTROWS(FILTER(_tbl,[count of reason b]>1))
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
User | Count |
---|---|
85 | |
79 | |
64 | |
52 | |
46 |
User | Count |
---|---|
101 | |
43 | |
41 | |
39 | |
36 |