Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
I saw a similar post but I couldn't get the result to work for my data.
I have data that I simplified below. There are multiple serial #s and test results. Some tests pass the first time (#1,2,3,4). Some pass on a retest (#5,8). Some fail a restest (#6,12). Some fail and were not retested (#9,10,11). Some were tested and passed every time (#7). I would also like to get the results in the shown form which I'm sure is easy but I'm still learning
| Serial # | Test result | |||
| 1 | pass | |||
| 2 | pass | |||
| 3 | pass | |||
| 4 | pass | |||
| 5 | fail | |||
| 5 | fail | |||
| 5 | pass | |||
| 6 | fail | |||
| 6 | fail | |||
| 7 | pass | |||
| 7 | pass | |||
| 8 | fail | |||
| 8 | pass | |||
| 9 | fail | |||
| 10 | fail | |||
| 11 | fail | |||
| 12 | fail | |||
| 12 | fail | |||
| 12 | fail | |||
| 12 | fail | |||
| pass first time | pass restest | fail retest | fail no retest | pass multiple tests |
| 4 | 2 | 2 | 3 | 1 |
Solved! Go to Solution.
Hi,
You can create this kind of category measure to solve this issue:
Table (7) is just the test data.
Then create additional table like this:
Create this kind of measure:
End result:
I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!
My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/
Proud to be a Super User!
Hi,
You can create this kind of category measure to solve this issue:
Table (7) is just the test data.
Then create additional table like this:
Create this kind of measure:
End result:
I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!
My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/
Proud to be a Super User!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 8 | |
| 7 |