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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
Chthonian
Helper III
Helper III

Cumulative Points based on Rank of Sales Amount

Hello folks, 

 

I have what i hope is a nice simple question, that I am probably over thinking and getting confused with. Hoping somebody out there can help.......actually I am sure somebody here can help 😄.

 

Scenario/Request: Create a Sales Leaderboard for our sales people, the based on Rank (1-10) assign a points value to each ranked salesperson. The have a running cumulative total of the points won each month. And at the end of the year the person with the most points wins a free holiday 🏝.

 

My Setup: Nice & Simple, Date Table connected to Sales Date("Orderlines Date"), Sales Table connected to Sales Person Table("Agent Contacts"). With a disconnected lookup table with Rank & Points. 

tables.png

 

 

 

 

Measure 1: Top 10 = CALCULATE( [Total Sales], TOPN(10, 'Agent Contacts', [Total Sales], DESC))

Measure 2: Ranking = RANKX(ALL('Agent Contacts'), [Total Sales], ,DESC)

Measure 3: Points = CALCULATE(VALUE(LOOKUPVALUE('Ranking Values'[Points],'Ranking Values'[Rank],[Ranking])))

 

This works a treat when using a slicer to work out each months sales leaderboard as per the below, but not for the life of me can I get my head around building the Dax to run a cumulative total on points.

leaderboard.png

 

End result I am looking to achieve would be a table or visual calulating the total points won each month by a sales person and obviously ranking them. 

 

NameMonthPoints
John Jan15
JohnFeb4
JohnMar12
John Total31

 

I have been hunting for a solution and gotten bogged down and confused with summarize and table variables and group by (all a bit above my current proficiency!😥) so I thought I would seek help from the people in the know!

 

Thanks in advance guys for any guidance or tips!

David

2 REPLIES 2
Chthonian
Helper III
Helper III

Small bump to see if anybody out there may have a suggestion 😏

Hi all, 

 

I just wanted to close this down saying that I found a way to calculate this using SUMMARIZE to create a table with each month as a dimension that then allowed me to SUM & RANK and TOPN the Results.

 

Cheers

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.