Forum Discussion
RenateBK
Helper II
9 months agoCumulative Distinct Count per year, per category, query exceeds available resources issue
Hello, I'm working with a data set where I need to calculate the cumulative distinctcount per category per year and I'm running into an issue of query time out/exceeding available resources. ...
- 9 months ago
RenateBK , try like
AmountCases = CALCULATE(Countrows(Values(Table1[CaseID]) ))
or
AmountCases = CALCULATE(Countrows(Summmarize(filter(Table1, Table1[CaseID] <> Blank()), [CaseID]) ))
Ashish_Mathur
Super User
9 months agoHi,
Does this work any better?
=calculate(distinctcount('Table1'[CaseID]),datesytd(calendar[date],"31/12"))