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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Correct totals for measures

I am building a "report card" for employees taking courses. The data consists of "course name, launch number(attempts to pass course), score(earned by employee), points(total points per course), and employee name. I am having trouble with getting the correct total of the measure created for score. The table below shows the course, total score, # of attempts. For mulitple attempts the total score is adding up the scores of all the attempts and not just the highest score taken. 

 

Sum of Score is self explanatory and FORMAT is whole number and summarization is SUM.

 

(You can see that "EmployeeeHighScore" takes the highest but does not add them up for a total which I need for the report card.)

 

How can I get the measure EmployeeHighScore to total the correct way.

 

DAX for Employee High Score is : 

MaxScoreperLearner = CALCULATE(MAX('ICT Report Data'[Score]), FILTER('ICT Report Data', 'ICT Report Data'[Score] = MAXX(FILTER('ICT Report Data', 'ICT Report Data'[Learner Id] = EARLIER('ICT Report Data'[Learner Id])), 'ICT Report Data'[Score])))

 

CARTERDX_0-1719424025012.png

 

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @Anonymous - you can create one more measure to sum these highest scores for the total score.

 

Measure:

TotalMaxScore =
SUMX(
    SUMMARIZE(
        'TotalsV',
        'TotalsV'[Employee Name],
        'TotalsV'[Course Name],
        "MaxScore", [MaxScorePerCourse]
    ),
    [MaxScore]
)
Snap:
 

rajendraongole1_0-1719426431010.png

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

1 REPLY 1
rajendraongole1
Super User
Super User

Hi @Anonymous - you can create one more measure to sum these highest scores for the total score.

 

Measure:

TotalMaxScore =
SUMX(
    SUMMARIZE(
        'TotalsV',
        'TotalsV'[Employee Name],
        'TotalsV'[Course Name],
        "MaxScore", [MaxScorePerCourse]
    ),
    [MaxScore]
)
Snap:
 

rajendraongole1_0-1719426431010.png

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.