Forum Discussion
adoster
4 years agoResolver I
Help with DistinctCount by Date
Trying to find the distinct count of procedures by date. Date Name Procedure Display Name Distinct PDN 11/8/2021 Mickey Mouse Procedure A 1 11/8/2021 Mickey Mouse Procedure B 1 ...
- Anonymous4 years ago
Hi adoster
Try to create this measure to achieve your goal.
Measure = VAR _SUMMARIZE = SUMMARIZE('Table','Table'[Date],"DISTINCT COUNT",DISTINCTCOUNT('Table'[Name])) RETURN SUMX(FILTER(_SUMMARIZE,[Date]<= MAX('Table'[Date])),[DISTINCT COUNT])Result is as below.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
4 years agoNot applicable
Hi adoster
Try to create this measure to achieve your goal.
Measure =
VAR _SUMMARIZE = SUMMARIZE('Table','Table'[Date],"DISTINCT COUNT",DISTINCTCOUNT('Table'[Name]))
RETURN
SUMX(FILTER(_SUMMARIZE,[Date]<= MAX('Table'[Date])),[DISTINCT COUNT])
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
adoster
4 years agoResolver I
This worked! Thank you so much!