I can't seem to find an answer for my problem.
Here is sample data
Credit Card Type Bank Year Total Balance
MASTER CARD BOFA 2017 $100
MASTER CARD BOFA 2017 $100
MASTER CARD BOFA 2017 $700
VISA Wells 2018 $60
VISA Wells 2018 $50
VISA Wells 2018 $60
etc
I am trying to figure how to get a mode by total Balance across all variables So it will end up like this
Desired output:
Credit Card Type Bank Year Mode
MASTER CARD BOFA 2017 $100
VISA Wells 2018 $60