| eventstats min(MonthlySalary) as lowSalary, max(MonthlySalary) as highSalary
| where MonthlySalary=lowSalary OR MonthlySalary=highSalary
| eventstats min(MonthlySalary) as lowSalary, max(MonthlySalary) as highSalary
| where MonthlySalary=lowSalary OR MonthlySalary=highSalary
Getting results for every "First Name" field. Evn Before I tired but it's not work
What have you tried so far?
... | stats min(MonthlySalary) as lowSalary, max(MonthlySalary) as highSalary by 'First Name'
...