Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

count rows with multiple condition

Hi i have two tables here below. From the first table, i want to count the opp no. but just status of won,open and lost. Then I want to calculate the average no. of opportunity by month (of just wo...
  • Anonymous's avatar
    Anonymous
    7 years ago

    Hi v-piga-msft. Thanks for your answer but that wasn't exactly the answer I was looking for.

     

    I instead found out the funciton.

     

    total opp = CALCULATE(COUNT('Opportunity'[Opp number]),'Opportunity'[Status]IN{"won","lost","did not proceed"})
     
    Thanks.