Tracy Leggett
Technical User
I need to show the ITEM.CODE that has the 2nd largest UNIT.PRICE. I have entered a summary field for the UNIT.PRICE with Nth Largest, N is 2 and it returns the UNIT.PRICE. Rather that show the price, I need it to show the ITEM.CODE.
I had tried a formula of …………… if {UnitPrice} = NthLargest (2, {UnitPrice}) then {ItemCode} else "" which makes sense to me logically, but it did not work.
Any suggestions?
I had tried a formula of …………… if {UnitPrice} = NthLargest (2, {UnitPrice}) then {ItemCode} else "" which makes sense to me logically, but it did not work.
Any suggestions?