title: How to find the maximum value from a table in tableau and return a value from the other
body: <p>I'm a beginner in Tableau, it would be great if someone could help me with these queries.</p>
  <p>I want to find the maximum value from the amount table and want to return the mode of payment that the maximum amount belongs to.</p>
  <p><img src="https://i.stack.imgur.com/kBDKw.png" alt="Return mode of payment w.r.t the highest amount" /></p>
  <p>Similarly, if I need to find the sum of amounts of a particular mode, how do I do that?</p>
  <p><img src="https://i.stack.imgur.com/llc9X.png" alt="Sum of a particular mode (eg - UPI) " /></p>