Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
sibin_jacob
Creator III
Creator III

Max value name Expression

Hai,

I need the physician name having max volume(physician name having the max volume based on time period and geo selection.)

How to get the  max value physician name dynamically?

Thanks,

Sibin Jacob.C

1 Solution

Accepted Solutions
jagan
Luminary Alumni
Luminary Alumni

Hi,

Use this expression

=FirstSortedValue(SalesMan, -Aggr(Sum(Sales), SalesMan))

It is working for me.

PFA file for the same.

Regards,

Jagan.

View solution in original post

4 Replies
jagan
Luminary Alumni
Luminary Alumni

Hi,

Use FirstSortedValue() for this.

=FirstSortedValue(Physician, -Sum(Volume))

Hope this helps you.

Regards,

Jagan.

sibin_jacob
Creator III
Creator III
Author

HaI Jagan,

I tried this one, but still not working!

not getting any value... I need the physician name in text object..

jagan
Luminary Alumni
Luminary Alumni

Hi,

Use this expression

=FirstSortedValue(SalesMan, -Aggr(Sum(Sales), SalesMan))

It is working for me.

PFA file for the same.

Regards,

Jagan.

sibin_jacob
Creator III
Creator III
Author

Thanks Jagan... It's working fine.....