Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
I have a few tables that look like this:
_User Table:
Business Unit | Plant | |
Person1@company.com | ||
Person2@company.com |
SRA ProjectPlace Members:
Member ID | Last Active | |
Person1@company.com | ABCDEFG | |
Person2@company.com | 1234567 |
SRA Member Roles
Member ID | WorkspaceID | Role Name |
ABCDEFG | XXXXXXXXXX | Role 1 |
ABCDEFG | YYYYYYYYYYY | Role 2 |
1234567 | XXXXXXXXXX | Role 2 |
1234567 | YYYYYYYYYYY | Role 3 |
I'd like to be able to count for each person how many different projects (workspace IDs) they are listed as "Role 1" vs "Role 2" etc on, and how many different projects they are listed on at all, or if they are listed on none. I'm not sure if my relationships aren't right, but I can't seem to get the formula to work. I've beein trying to do it in a measure - does it need to be a calculated column instead?
Solved! Go to Solution.
Hi DemingPDCA,
Please try creating a calculated column on your user table and use the function "COUNTX" for the column.
Please check this post.
I think it has the same requirement you are looking for.
Hi DemingPDCA,
Please try creating a calculated column on your user table and use the function "COUNTX" for the column.
Please check this post.
I think it has the same requirement you are looking for.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
87 | |
87 | |
87 | |
67 | |
49 |
User | Count |
---|---|
135 | |
113 | |
100 | |
68 | |
67 |