Forum Discussion
Toni_H
4 years agoFrequent Visitor
Rank Output based on Selected Criteria
Hello, Essentially I need to figure out a way to see a list of students based on best fit to my selected search criteria. Example: A user chooses 5 criteria for search (range between 1-10), any st...
- 4 years ago
amitchandak
Super User
4 years agoToni_H , First create a measure on match criteria
new measure =
var _max = maxx(allselected(criteria1),criteria1[Date])
var _min = minx(allselected(criteria1),criteria1[Date])
return
calculate( sum(Table[Value]), filter('Table', 'Table'[attitude] >=_min && 'Table'[attitude] <=_max))
add other too
then create a measure
Rankx(allselected(Table[Name]),[new measure],,desc,dense)
Toni_H
4 years agoFrequent Visitor
Thank you for taking the time to respond.
This does work, but I would need to create a rank measure that considers all the criteria selected in the slicers.
Not sure how that would work...
Thanks again for your help,
TH