Forum Discussion

Arnechos's avatar
Arnechos
Frequent Visitor
8 years ago

Probablity measure

Basically I have to make a probablility of malfuction of vehice.

 

malfunction/amount of cars with certain mileage * 100

I came up with this formula and in DAX I have a problem with certain mileage

(CALCULATE(COUNT('table'[STATUS]);FILTER('table';SEARCH("malfunction";'table'[STATUS];1;0))))/COUNT(vehicles[License_plate])

I have no idea how to make it count probablility based on sum of vehicle with certain amount of mileage