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.
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 July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
17 | |
8 | |
7 | |
7 | |
6 |
User | Count |
---|---|
23 | |
11 | |
10 | |
9 | |
8 |