I am trying to create a win rate formula which should be win rate= win / (win+loss)
Thought, something is not working -- I am a novice
Solved! Go to Solution.
@frenchiedc87 , try
Win Rate = divide(CALCULATE(COUNT(CorpPipeline_ALL[Title]),FILTER(CorpPipeline_ALL, CorpPipeline_ALL[Opportunity Status]="won")),
CALCULATE(COUNT(CorpPipeline_ALL[Title]),FILTER(CorpPipeline_ALL, CorpPipeline_ALL[Opportunity Status] in {"won" , "lost"})))
or , In case there only two values won and lsot
Win Rate = divide(CALCULATE(COUNT(CorpPipeline_ALL[Title]),FILTER(CorpPipeline_ALL, CorpPipeline_ALL[Opportunity Status]="won")),
CALCULATE(COUNT(CorpPipeline_ALL[Title])))
Proud to be a Super User!
Win Rate = DIVIDE(
CALCULATE(COUNT(CorpPipeline_ALL[Title]),FILTER(ALL(CorpPipeline_ALL), CorpPipeline_ALL[Opportunity Status]="won")),
CALCULATE(COUNT(CorpPipeline_ALL[Title]),FILTER(ALL(CorpPipeline_ALL), CorpPipeline_ALL[Opportunity Status] ="won" || CorpPipeline_ALL[Opportunity Status] ="lost)))))
)
Win Rate = DIVIDE(
CALCULATE(COUNT(CorpPipeline_ALL[Title]),FILTER(ALL(CorpPipeline_ALL), CorpPipeline_ALL[Opportunity Status]="won")),
CALCULATE(COUNT(CorpPipeline_ALL[Title]),FILTER(ALL(CorpPipeline_ALL), CorpPipeline_ALL[Opportunity Status] ="won" || CorpPipeline_ALL[Opportunity Status] ="lost)))))
)
@frenchiedc87 , try
Win Rate = divide(CALCULATE(COUNT(CorpPipeline_ALL[Title]),FILTER(CorpPipeline_ALL, CorpPipeline_ALL[Opportunity Status]="won")),
CALCULATE(COUNT(CorpPipeline_ALL[Title]),FILTER(CorpPipeline_ALL, CorpPipeline_ALL[Opportunity Status] in {"won" , "lost"})))
or , In case there only two values won and lsot
Win Rate = divide(CALCULATE(COUNT(CorpPipeline_ALL[Title]),FILTER(CorpPipeline_ALL, CorpPipeline_ALL[Opportunity Status]="won")),
CALCULATE(COUNT(CorpPipeline_ALL[Title])))
Proud to be a Super User!
Check out new user group experience and if you are a leader please create your group
100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.
User | Count |
---|---|
421 | |
169 | |
106 | |
85 | |
58 |
User | Count |
---|---|
437 | |
184 | |
136 | |
109 | |
87 |