March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
27 | |
17 | |
16 | |
12 | |
11 |
User | Count |
---|---|
37 | |
29 | |
26 | |
20 | |
16 |