Forum Discussion
RK9009
5 years agoFrequent Visitor
Dax Help
Greeting PBI Community, I need help with this dax measure
| studentID | status |
| abc123 | status 1 |
| abc123 | status 2 |
| abc123 | status 3 |
| abc123 | status 4 |
| bca231 | status 2 |
| bca231 | status 3 |
| cab321 | status 2 |
| cab231 | status 3 |
| xyz234 | status 1 |
| alm222 | status 2 |
| blz121 | status 3 |
| cla234 | status 3 |
| zla232 | status4 |
| cls343 | status4 |
here’s an example: first we distinctcount all the studentIDs in Status1 - I.e 2
then we count all student IDs in Status 2 exluding the ones counted in Status1
then count all Student IDs in Status3 exlucding IDs in Status1&2
Then Count all IDs in status4 excluding IDs counted in Status 1,2,3
Thank you
8 Replies
- FowmySuper User
RK9009
Do you need a single measure that calculates one result or is against each Status?
Can you share the expected output as well?________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂