Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hello I am trying to disctinct count one colum and exclude values of another
I have this calculated dax but I am not getting the results that I am looking for
Hi, @Anonymous
I'd like to suggest you try the following measure to see if it works.
Test Exclude double user cout =
CALCULATE (
DISTINCTCOUNT ( Training__Global__by_Business_U[User] ),
'Training__Global__by_Business_U'[Timesheets - Approved hours] <> 0
)
Or
Test Exclude double user cout =
CALCULATE (
DISTINCTCOUNT ( Training__Global__by_Business_U[User] ),
FILTER (
'Training__Global__by_Business_U',
'Training__Global__by_Business_U'[Timesheets - Approved hours] <> 0
)
)
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Allan,
Thanks for sending these over however I have just tried and they are both still giving me the total count of users and not excluding any of the zero values for the approved hours
Hi, @Anonymous
Could you please show us some sample data and expected result with OneDrive for business? Do mask sensitive data before uploading. Thanks.
Best Regards
Allan
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
19 | |
14 | |
10 | |
7 |