Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Hadill
Helper I
Helper I

Win Rate

Hi there!

I have a table with the 'Sales Information', includes the follwing columns:

[Deal Status] -> Active, Signed, Abondend, Booked, Lost.

[Deal value] -> Numeric Data.

 

I want to add a new column [Win Rate] applying the logic of: Win Rate = won deals value/ won deals value+ lost deals value

 

Which function should I use for this and how should I write it?

 

Thanks a lot in advance

 

6 REPLIES 6
v-angzheng-msft
Community Support
Community Support

Hi, @Hadill 

Please consider sharing sample data with date column and date by quarter column and desired output.

It makes it easier to give you a solution.

  1. Sample (dummy dataset) data as text, use the table tool in the editing bar
  2. Expected output from sample data
  3. Explanation in words of how to get from 1. to 2.

 

Best Regards,
Community Support Team _ Zeon Zheng

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Hadill , where are these values

won deals value/ won deals value+ lost deals

 


Can you share sample data and sample output in table format?

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Hi @amitchandak , thanks for replying.

 

By Won Deals value i mean the sum of the deal values that corresponds Booked status.

And the same for Lost Deals value, corresponds Lost status.

 

So it should be : win rate= sum of [deal value] for the booked [deal status]/sum of [deal value] for the booked [deal status]+sum of [deal value] for the Lost [deal status].

 

Example of the columns: 

Deal valueDeal status
500Booked
1000Abounded
400Booked
1500Lost
2000Lost
1500Abounded
4000signed

 

I hope it is more clear now

@Hadill , Try a measure like

 

Divide( Calculate(Sum(Table[Deal Amount] ), Filter(Table, Table[Status] ="Booked")) ,Calculate(Sum(Table[Deal Amount] ), Filter(Table, Table[Status] in{"Booked","Lost"} )))

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Great!  it looks better now.

 

But I missed to mention that every deal has a specific date, and I need the data to be appered on the report by quarter!

 

The following example is exsactly what I want to show in my report:

 

 Q1Q2Q3Q4
Booked10121114
Signed1234
Lost14151618
Abounded1234
Win Rate42%44%41%

44%

It is like a summary for the current sales situation and alongside the win rate, all in one matrix.

*Please note that my table already includes a column called [Date by Quater]

 

Thanks a lot for your helping.

 

@Hadill , Create those as measure and show on row like Booked, lost and Win % etc

 

Or use winrate in grand total using isinscope

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.