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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply

Measure help

Hi I work in a school and need a bit of help with a measure i'm having trouble with if it is in fact a measure i need 🙂

 

So on one of my pages I want to show top 10 or top 20 students with the highest achievement points. Sound simple but the points aren't added up in the table they go in lines. So student A might have 20 lines instances with their name with a total of 25 points spread over the 20 lines.

The point value is pre populated and is based on the type of achievement. The table is pulled from our MIS system daily.

 

 

 

1 ACCEPTED SOLUTION
PaulDBrown
Community Champion
Community Champion

@jblackburnHWGA 

 

An alternative way to that suggested by @Mariusz  is to use the TopN filter in the filter pane.

First create a measure with the sum of the points:

Sum of points = SUM('DataTable'[Points])

 

Create a table visual with the student and [Sum of points] measure, and filter the table using the TopN option:

results.JPG

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

3 REPLIES 3
PaulDBrown
Community Champion
Community Champion

@jblackburnHWGA 

 

An alternative way to that suggested by @Mariusz  is to use the TopN filter in the filter pane.

First create a measure with the sum of the points:

Sum of points = SUM('DataTable'[Points])

 

Create a table visual with the student and [Sum of points] measure, and filter the table using the TopN option:

results.JPG

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Thank you both. I went with the second solution as I could understand it 🙂 

I have a good working top 10 list

Mariusz
Community Champion
Community Champion

Hi @jblackburnHWGA 

 

Try this Measure.

Rank Brand = 
RANKX(
    CALCULATETABLE(
        VALUES( 'Product'[Brand] ), --Student Name Column
        ALLSELECTED()
    ), 
    CALCULATE(
        SUMX(Sales, Sales[Net Price] * Sales[Quantity]) --SUM( points Column )
    ),, 
    DESC
) 

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn



Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.