Forum Discussion
TOP N not working
- 6 years ago
Hello cham
I believe I did find a way to solve this. I had to add a drivers table to use as a anchor for the rankings.
The udpated file is attached.
Hi Ashish_Mathur ,
I have a Driver No field with another measure I want to get top 5 drivers according to that measure. How can I get that?
Please download the below file and check. I creted a table and created to N but its not working. Its showing more than 20 Driver Numbers
https://drive.google.com/file/d/1zkH2F7ZLosCyORMGP6jfRbsI5-aapeVG/view?usp=sharing
- jdbuchanan716 years agoSuper User
You could take into account the number of responses along with the avg score to get a ranking. I have added the calc and adjusted the matrix to give you an idea of what I had in mind.
- jdbuchanan716 years agoSuper User
Sure
If [Dirver Number] = 0 or [Driver Number] = BLANK() ignore the row in the ranking.
Otherwise rank the drivers based on [Avg Score] * [Response Count].
Basically, if two drivers have the same average score rank the one with more responses higher.
- jdbuchanan716 years agoSuper User
You can apply a filter to a visual of TopN based on a measure. For ranking you want to do it in BottomN so it will go from lowets (1, which is the best rank) up.
Not sure what you mean about country, can you share your data including the country and show the problem and expected result? - jdbuchanan716 years agoSuper User
- jdbuchanan716 years agoSuper User
Hello cham
I believe I did find a way to solve this. I had to add a drivers table to use as a anchor for the rankings.
The udpated file is attached.
- Ashish_Mathur6 years agoSuper User
Hi,
The value of N for more than 20 drivers is the same. Perhaps this is the reason for the TopN not working. Considering more then 20 drivers have the same value of N i.e. 100, what result do you expect to see?
- cham6 years agoPost Patron
- TomMartens6 years agoSuper User
Hey jdbuchanan71 ,
smart move! - cham6 years agoPost Patron
Hi jdbuchanan71
Cant we put rank the drivers based on [N]?
Also if I add the coutry into it numbers are getting increase. Why is that?
- cham6 years agoPost Patron
Hi jdbuchanan71 ,
https://drive.google.com/file/d/10a5XQYojfl9c-4unh1ZBbmDNs9E2ekh5/view?usp=sharing
Please find the above link to access the file. I want to show Top 20 "N" value accoding to the drive and the country.
I am confusing why you create a response count aand ave score for this? I want to get top 20 drivers in countries which show top 20 "N values"
Hope this explain you my question.
- cham6 years agoPost Patron
Hi jdbuchanan71
I have added a resposes field that now you can filter it. Please check the updated file.
- cham6 years agoPost Patron
- cham6 years agoPost Patron