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
slacey
Frequent Visitor

Creating Benchmark Values

Hey all,

 

So I've been working on a sales analysis dashboard and I'm having some trouble. One of the data points I need is Average Deal Size for each sales rep. I have no problem calculating that - I just simply created a measure that calculates average deal size and I can filter by the rep on the dashboard. However, when creating my KPI I want to set benchmarks for average deal size for each region. How I go about this is by finding the average deal size for each rep and then take the Kth percentile to calculate the benchmark value in each region. Two problems arise with this: 

1) I am unable to calculate a percentile with a measure ( I need a column)

2) Once I worked around that and created a column of average deal sizes by region and rep I was able to calculate a benchmark value. The only problem is that this value did not change when I filtered by date. 

 

I attached a photo to show what I am trying to get because I know my wording may have been confusing. I really appreciate any help!

 

 

 

 

1 REPLY 1
v-yuta-msft
Community Support
Community Support

Hi slacey,

 

To be general, you can follow DAX below to create your measure and check if it can meet your requirement.

 

Measure =
CALCULATE (
    PERCENTILE.EXC ( Table[Value], Your_Percentage ),
    ALLSELECTED ( Table[Date] )
)

or

Measure =
CALCULATE (
    PERCENTILE.EXC ( Table[Value], Your_Percentage ),
    ALLSELECTED ( Table )
)

In addtion, it seems like no photo has been uploaded, so If you still have doubt, could you provide more details about your expected requirement?

 

Regards,

Jimmy Tao

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.