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
JadeDoherty
Regular Visitor

Calculating Percentage of Target with Ramp up

Hello all,

 

Wondering if someone may be able to assist.  I need to somehow create a measure that can provide me with the desired % of Target readings based on some rules as set out in the example below.

 

Raw data looks something like this - where a row represents an individual sales record in the given month (Note:  I have created a Calculated Column called Percentage of Target already that gives the column on the right):

 

StateSalespersonQuotaClosedPercentage of Target
QLDJoe Bloggs $                         1.00 $                           799.0079900%
QLDJoe Bloggs $                         1.00 $                           799.0079900%
QLDJoe Bloggs $                         1.00 $                           399.0039900%
NSWJane Doe $                 2,500.00 $                        1,400.0056%
NSWJane Doe $                 2,500.00 $                        2,000.0080%
WASarah Lee $                 5,000.00 $                        8,000.00160%
VICJeff Smith $              10,000.00 $                        9,000.0090%
VICJeff Smith $              10,000.00 $                        6,000.0060%
VICJeff Smith $              10,000.00 $                        3,000.0030%

 

Below is a view of what a SUM of the "Percentage of Target" calculated column provides versus what I really need to appear:

 Current Percentage of TargetDesired % of Target
Joe Bloggs199700%100%
Jane Doe136%100%
Jeff Smith180%180%
Sarah Lee160%100%

 

The quotas and the rules are as follows:

 Normal Quota  
Joe Blogs  $              10,000.00In his first Quarter ($1 Quota)
Jane Doe $              10,000.00In her 4th Month (25% of Normal Quota)
Sarah Lee $              10,000.00In her 5th or 6th Month (50% of Normal Quota)
Jeff Smith $              10,000.00After 6th month (Normal Quota)

 

Main rule:  If a sales person is in a ramp up period (i.e. prior to the 7th month) if they exceed 100% of their target - it should appear as 100% instead of the actual percentage achieved against the reduced ramp up target.

 

Any ideas on how best to achieve this result that I could display in a dashboard?

 

 

 

 

 

2 REPLIES 2
lbendlin
Super User
Super User

You can use the DAX MIN() function to cap the percentage like so

 

result = MIN(achieved percentage, 1)

 

can never be higher than 100 %

Thanks @lbendlin ,

 

The only issue with that is if the sales person is not on ramp up - the % achieved can be over 100% and we need to show that.

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