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 August 31st. Request your voucher.
Member case ID
jim a1
jim a1
jim a1
jim a2
jim a3
bob b1
bob b1
bob b2
sam c1
sam c2
sam c3
Hello Experts
I'd like a measure that will show
Total number of members with 3 and up UNIQUE case IDs, in this case = 2 (jim and sam)
thank you
Solved! Go to Solution.
hi @konijay
try like:
Measure =
VAR _table =
ADDCOLUMNS(
VALUES(TableName[Member]),
"Count",
CALCULATE(DISTINCTCOUNT(TableName[Case ID]))
)
RETURN
COUNTROWS(
FILTER(_table, [Count]>=3)
)
hi @konijay
try like:
Measure =
VAR _table =
ADDCOLUMNS(
VALUES(TableName[Member]),
"Count",
CALCULATE(DISTINCTCOUNT(TableName[Case ID]))
)
RETURN
COUNTROWS(
FILTER(_table, [Count]>=3)
)
LOVE U!
User | Count |
---|---|
26 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
30 | |
14 | |
12 | |
12 | |
7 |