This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi Team,
I am trying to count only Code A & B if it same in any ID , any thoughts
| ID | Code |
| 1002 | A |
| 1002 | B |
| 1002 | C |
| 1003 | A |
| 1003 | D |
| 1003 | C |
| 1004 | A |
| 1004 | B |
| 1005 | A |
| 1005 | C |
| 1005 | D |
| id | A | B | C | D |
| 1002 | 1 | 1 | 1 | |
| 1003 | 1 | 1 | 1 | |
| 1004 | 1 | 1 | ||
| 1005 | 1 | 1 | 1 |
Result will be 2 as a count , A & B for 1002 & 1004 as per criteria
Solved! Go to Solution.
Hi,
I am not sure I fully understood, but try something like this:
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!
Hello
Please try this measure
Hello
Please try this measure
Thanks it working correctly.
Hi,
I am not sure I fully understood, but try something like this:
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!
Amazing approach , Could you please add 1 more thing how can display 1 ( which are matching) by DAX in same Measures
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 6 | |
| 5 | |
| 4 |