Forum Discussion
Rank based on a measure
parry2k - Thanks for the info. I keep getting a rank of 1 for any student I select. Have looked at your measure and tested filters, and the aggregations used, substituted in actual values etc, but I still always get a rank of 1 no matter which student I select. Any thoughts about what I am doing wrong? This is my measure for getting the average scaled mark for a student.
Average Marks = AVERAGE([ScldMark])
I then have slicers on the page for Fileyear, StudentYearLevel and StudentID.
I want this to be displayed in a card on its own.
Perhaps the problem is that this needs to be in a table or matrix so it can rank against the other values in the visual. If that is the case, how can I get this to be a standalone rank in a card? (Just tested this theory in a table and found that your measure works great - everything correct - thanks so much - but as I said - I want to try and create a kpi matrix which uses a card with just the rank for that one student)
Any thoughts?
- dphillips7 years ago
Helper IV
parry2k - it does work great when in a table or matrix but my issue is I was trying to get this in a standalone card and create a sort of KPI for a student, rather than having a table with all the students in it. Is this possible?
Thanks again for all your help.
- parry2k7 years ago
Super User
dphillips are you ok to share pbix instead me recreate everything at my end. Remove any sensitive it contains.
- dphillips7 years ago
Helper IV
Hey parry2k . Thanks so much for your help. I duplicated the page I was using, got rid of lots of slicers and filters to try and work out what was goin on and then started afresh on a new page and the card works properly on that page. Went back to the original page and, in the end, just got rid of the card and put a new card in, used the measure and all was fine. Again - thanks for all your help.