Forum Discussion

mohammedald's avatar
mohammedald
Helper I
3 years ago
Solved

Winning Ratio Calculation

Hello how are you guys I hope you are doing well, I have a rather complicated measurement I want to make ( complicated  for me ) I have a Sales data set from a company and I want to make a win Ratio ...
  • Padycosmos's avatar
    3 years ago

    The following measures work:

    Winning Dollar Ratio = DIVIDE(CALCULATE(SUM(Test[Price]),Test[Deal Status]="Won" && YEAR(Test[Est Close Date])>=2023), CALCULATE(SUM(Test[Price]),YEAR(Test[Est Close Date])>=2023 && (Test[Deal Status]="Won"|| Test[Deal Status]="Lost")))
    Winning Quantity Ratio = DIVIDE(CALCULATE(COUNT(Test[Deal Status]),Test[Deal Status]="Won" && YEAR(Test[Est Close Date])>=2023), CALCULATE(COUNT(Test[Deal Status]),YEAR(Test[Est Close Date])>=2023 && (Test[Deal Status]="Won"|| Test[Deal Status]="Lost")))