Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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!
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
28 | |
11 | |
11 | |
10 | |
6 |