Forum Discussion
Kevdie11
4 years agoFrequent Visitor
Help with Date Filters
I am working on a report where I need to calculate the Strike Rate of the rep. E.g. He has 10 Customers, and in the specified period he has sold to 7 of them, therefore his strike rate is 70% (Custom...
johnt75
4 years agoSuper User
If you have a relationship between your date table and your customer created date you can create a total customers measure like
Total Customers =
var maxDate = MAX('Date'[Date])
return CALCULATE(COUNTROWS(Customer), REMOVEFILTERS('Date'), 'Date'[Date] <= maxDate )