Forum Discussion
Calculating Win Rate by Company
- 4 years ago
Hi, RB_Barbour-ABI ;
Try it.
the above as win number and win value.
then create a meaure.
Loss Number = CALCULATE(COUNT([Loss]),FILTER(ALL('Table'),[Loss]=MAX('Table'[Win])&&[Win]=MAX('Table'[Loss])))+0Loss value = CALCULATE(SUM([Value]),FILTER(ALL('Table'),[Loss]=MAX('Table'[Win])&&[Win]=MAX('Table'[Loss])))+0Total Bids = COUNT([Loss])+[Loss Number]Total Bid Value = SUM('Table'[Value])+[Loss value]Win Rate Number (%) = COUNT([Loss])/[Total Bids]Win Rate Value (%) = SUM('Table'[Value])/[Total Bid Value]The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, RB_Barbour-ABI ;
Try it.
the above as win number and win value.
then create a meaure.
Loss Number = CALCULATE(COUNT([Loss]),FILTER(ALL('Table'),[Loss]=MAX('Table'[Win])&&[Win]=MAX('Table'[Loss])))+0Loss value = CALCULATE(SUM([Value]),FILTER(ALL('Table'),[Loss]=MAX('Table'[Win])&&[Win]=MAX('Table'[Loss])))+0Total Bids = COUNT([Loss])+[Loss Number]Total Bid Value = SUM('Table'[Value])+[Loss value]Win Rate Number (%) = COUNT([Loss])/[Total Bids]Win Rate Value (%) = SUM('Table'[Value])/[Total Bid Value]
The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi v-yalanwu-msft ,
Thank you very much, this solution is excellent.
Unfortunately, if I add a Total to the table to show the selected company's overall numbers, the loss measures return the last company number and not the total.
Is there any way around this?