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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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?

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"} )))

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors