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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
sg919
Frequent Visitor

Create a Performance Score based on Monthly Total AND Yearly Average

Hello PBI Community!  Novice PBI/DAX user here humbly seeking assistance.

I'm trying to add a SCORING assessment for this KPI based on monthly date bins and yearly average score.

I have several KPIs I need to provide scoring assessments for, so am hoping for a scaleable solution 🙂

Any ideas appreciated.

 

Here is a sample of what I am receiving. I've circled SOME of the values that should be either Successful or Outstanding:

 

Snippet of PBI Report

sample 1.jpg

Here is the measure that calculates Avg Calls / AE (Person) / Month which is referenced in the IF statement.

 

Avg Calls / AE / Month Calculation

sample 2.jpg

 

WHAT I TRIED

I created a NEW TABLE (New Opportunities Created - SUMMARIZED TABLE) from the original table which contains row level detail (New Opportunities Created).

 

Then I created a new column to calculate SCORE:

 

 

 

Score = SWITCH(TRUE(),
'New Opportunities Created - SUMMARIZED TABLE'[Segment] IN {"Field Sales", "LTL"} && 'New Opportunities Created - SUMMARIZED TABLE'[#Opps]<3.5, "NI",
'New Opportunities Created - SUMMARIZED TABLE'[Segment] IN {"Field Sales", "LTL"} && 'New Opportunities Created - SUMMARIZED TABLE'[#Opps]>4.3, "Exceeds", "Meets"
)

 

 

 

Below is the result.

It works at the MONTHLY level, however, it is not working for the COLUMN and ROW TOTALS.

 

sample 3.jpg

 

I should add that I do have some data filters as well:

sample 4.jpg

 

AND for the FINAL piece!  I need to provide a summary at the Manager level, which is based on the TOTAL YEARLY AVERAGE ("Total #Opps" column)

sample 6.jpg

1 REPLY 1
lbendlin
Super User
Super User

Kudos for the detailed explanation. What you have in front of you is a nice introduction to filter context. Read about the different ways measures are calculated, read about aggregator functions like SUMX and then try stuff out.   One of the guiding principles in DAX  (especially for matrix visuals) is "Think like the Grand Total."  That way your measure can handle all scenarios.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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