The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I have two columns that pair with eachother and I am trying to count the distinct pairs.
For example:
Start | End |
A | B |
A | B |
A | B |
B | C |
B | C |
B | C |
B | C |
C | D |
C | D |
So the measure would count
Start A, End B once,
Start B, End C once, and
Start C, End D once
Thank you in advance for any help/clarification
Solved! Go to Solution.
DISTINCTCOUNT('Table')
= COUNTROWS( DISTINCT( Table1 ) )
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
10 | |
7 |