Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi, after some kind soul on here helped me out with a TOPN issue, I have another issue that I'm hoping someone can help me with. I'm trying to sum together the top 8 achievement grades for a selected pupil. Currently I'm using the following
@rflook in your measure you are using some other columns and that's what I'm trying to get to. You can just list the columns and how you want to visualize it (or calculating rank)
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Here is some sample data:
txtSchoolID | intReportCycleID | intGradeTransposeValue |
851753944746 | 328 | 9 |
851753944746 | 328 | 8 |
851753944746 | 328 | 9 |
851753944746 | 328 | 9 |
851753944746 | 328 | 9 |
851753944746 | 328 | 8 |
851753944746 | 328 | 9 |
851753944746 | 328 | 9 |
851753944746 | 328 | 8 |
851753944746 | 328 | 8 |
So for this student, if we were to rank his scores, it would be 9,9,9,9,9,9,8,8,8,8. I want to sum the top 8 of these scores, so 9+9+9+9+9+9+8+8 = 70
@rflook also in this case I will use the new ROWNUMBER function and that will make it super easy.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@rflook can you share sample data, also is this a column or a measure? 'Report-Ach'[intGradeTransposeValue] or
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
It's a calculated column. I could show some data if you really need it, but not until tomorrow as I can only access the data set from my work IP address.
@rflook why four of 8's what is the logic?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Well, I need the top 8 values from the student's results, so that would be four 9s and then four 8s. I just realised my TOPN was wrong in the code snippet I posted (that was after I tried to figure out what was going wrong). I have just editted it for the top 8 results.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
104 | |
69 | |
49 | |
41 | |
34 |
User | Count |
---|---|
164 | |
111 | |
61 | |
53 | |
38 |