title: Tableau How to return dimension for the highest measure (how to return the name for highest score)?
body: <p>Let's say I have this simple data:</p>
  
  <pre><code>+-------+-------+---------+
  | Tests | Names | Scores  |
  +-------+-------+---------+
  | Test1 | John  |      95 |
  | Test1 | Becky |      90 |
  | Test2 | John  |      80 |
  | Test2 | Becky |      85 |
  +-------+-------+---------+
  </code></pre>
  
  <p>I want to write a calculated field that will return the name of the student of the highest score for each Exam. I want to do this without applying a filter to the whole chart.</p>